https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840

--- Comment #8 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> ---
Created attachment 44186
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44186&action=edit
Patch by keeping original length

This patches the problem by storing the allocated length in a separate
variable.

This also fixes the problem with the free not being called.

Both these patches are against svn 260704.

Reply via email to