On Wed, Nov 05, 2008 at 07:18:45PM +0100, Denys Vlasenko wrote: > On Wed, 2008-11-05 at 15:16 +0100, Denys Vlasenko wrote: > > Before this patch, -s N shows N+1 chars in strings. > > More annoyingly, it shows this for shorter strings: > > > > write(1, "hi\n"..., 3) = 3 > > > > After patch: > > > > write(1, "hi\n", 3) = 3 > > > > Patch author is Jeff Bastian [EMAIL PROTECTED] > > > > Patch is below. Please apply. > > It appears that the bug this patch fixes causes buffer overruns > and corrupts memory since we malloc just enough space for N chars > + NUL but then try to stuff N+1 chars + NUL there. > > See https://bugzilla.redhat.com/show_bug.cgi?id=466877
This bug is not available for public access. -- ldv
pgpz9LvWjqUN1.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
