Mailinglist Archive: opensuse-bugs (6747 mails)

< Previous Next >
[Bug 731568] sed: free(): invalid pointer: 0x00000000016f0110

https://bugzilla.novell.com/show_bug.cgi?id=731568

https://bugzilla.novell.com/show_bug.cgi?id=731568#c6


--- Comment #6 from Andreas Jaeger <aj@xxxxxxxx> 2011-11-21 09:46:25 UTC ---
Looking at execute.c: 232
I see
lb->text = REALLOC(lb->text, inactive + lb->alloc, char);

So, a realloc using char and I wonder whether this is correct since LC_CTYPE is
UTF-8.

Looks like a bug in sed in pointer handling.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References