zero-size malloc and ps: kvm_getprocs: Bad address
Matthew Dillon
dillon at apollo.backplane.com
Tue Jun 2 12:16:30 PDT 2009
:The standard however demands a unique pointer to be returned - we can't=20
:return a constant pointer. I think rounding up to the minimal size sound=
:s=20
:good.
:
:cheers
: simon
Sure, go ahead and make the change. I think that will actually reduce
the size of the code slightly since we would not longer have to deal
with the special pointer. Remember to deal with realloc properly as
well.
-Matt
More information about the Bugs
mailing list