[Python-Dev] Overflow in socketmodule.c?
"Martin v. Löwis"
martin at v.loewis.de
Thu Nov 4 19:05:28 CET 2004
Mihai Ibanescu wrote:
> Can someone confirm this is indeed an overflow by one in socketmodule.c?
Yes. With some luck (e.g. on x86 with gcc), it might not cause buffer
overruns, as a) the compiler overallocates on the stack because of
padding, anyway, and b) the overwriting might write into the next
variable (i.e. retval), which is uninitialized at this point, anyway.
Regards,
Martin
More information about the Python-Dev
mailing list