null pointers
null pointers
Posted Mar 19, 2008 21:47 UTC (Wed) by nix (subscriber, #2304)In reply to: null pointers by quotemstr
Parent article: Who maintains dpkg?
Any IA64 or PPC64-based systems. I think HPPA too but can't remember. (On both these platforms it so happens that data pointers are all the same size: but function pointers are larger... and yes this has exposed bugs in free software.)
Posted Mar 19, 2008 21:57 UTC (Wed)
by quotemstr (subscriber, #45331)
[Link] (1 responses)
Posted Mar 19, 2008 22:18 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Posted Mar 28, 2008 22:33 UTC (Fri)
by anton (subscriber, #25547)
[Link] (1 responses)
Posted Mar 29, 2008 1:08 UTC (Sat)
by nix (subscriber, #2304)
[Link]
null pointers
I don't think that's true. See the downthread comments on the same topic. I'd be interested in
knowing what the specific bugs were.
null pointers
If I could remember, I'd say. I'll have a dig.
null pointers
On [PPC64 and IA64] it so happens that data pointers are
all the same size: but function pointers are larger.
Not on Linux-PPC64 (and probably not on Linux-IA64, either):
#include <stdio.h>
int main()
{
printf("%ld %ld\n", sizeof(void *), sizeof(int(*)()));
return 0;
}
prints
8 8
null pointers
Oh. My memory is failing me and I can't read simulator source code, it
seems. (I was *sure* they were examples of arches using a descriptor
consisting of a data pointer combined with other stuff.)