[Mono-bugs] [Bug 82678][Maj] Changed - Mono_Posix_Syscall_readdir_r causes stack corruption in readdir_r, resulting in crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Sep 3 15:41:37 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by trisk+ximian at acm.jhu.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=82678
--- shadow/82678 2007-09-03 15:40:30.000000000 -0400
+++ shadow/82678.tmp.32294 2007-09-03 15:41:37.000000000 -0400
@@ -98,6 +98,11 @@
Additional Information:
I am attaching a patch that fixes the problems described.
http://womble.decadentplace.org.uk/readdir_r-advisory.html describes a
similar, but more subtle problem arising from use of readdir_r, thus the
fix should use PATH_MAX (which I believe is POSIX mandated) and not pathconf().
+
+------- Additional Comments From trisk+ximian at acm.jhu.edu 2007-09-03 15:41 -------
+Created an attachment (id=19954)
+Patch to fix readdir_r stack corruption and return value bug
+
More information about the mono-bugs
mailing list