Menu

#362 invalid pointer freed in fontmap.c

incorrect behaviour
closed-fixed
None
5
2011-01-28
2009-01-28
No

in fontmap.c at line 140
free (l);
can free a pointer invalidated by modifications
after assigning from malloc; and it does in my case.
should be:
free (orig_l);

Discussion

  • Stefan Ulrich

    Stefan Ulrich - 2009-01-28
    • milestone: --> incorrect behaviour
    • assigned_to: nobody --> stefanulrich
    • status: open --> pending-fixed
     
  • fulvio ciriaco

    fulvio ciriaco - 2009-01-28

    Oh,
    thanks for your attention.
    By the way, how did this bug survive?
    xdvi did not even start on my computer, (i386, arch linux, current)
    yielding an error about attempting to free an invalid pointer.
    Fulvio

     
  • Stefan Ulrich

    Stefan Ulrich - 2009-01-28

    This is probably some GCC stack protection extension that's not available or active on all systems ...

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 730 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

MongoDB Logo MongoDB