[Linux-ha-dev] Bind/stat Auth Patch
alanr at unix.sh
Thu Oct 7 06:55:04 MDT 2004
Lars Ellenberg wrote:
> / 2004-10-07 01:07:13 +0200
> \ Lars Ellenberg:
>>hm. I thought it does not dereference NULL here, because the compiler computes
>>the value of the resulting pointer at compile time,
>>which is the offset of the struct member,
>>and then that pointer is interpreted as size_t.
>>nothing to do with whether the member is array or not...
> which of course is wrong, since
> &(((type*)0)->member) == (((type*)0)->member)
> only if member happens to be defined as an array.
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA-Dev