[ xdvi-Bugs-2542973 ] invalid pointer freed in fontmap.c

"SourceForge.net" <[email protected]> Fri, 28 Jan 2011 19:20:05 +0000
Newsgroups gmane.comp.tex.xdvi.devel
Message-ID <[email protected]>
Bugs item #2542973, was opened at 2009-01-28 13:00
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=2542973&group_id=23164

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: incorrect behaviour
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: fulvio ciriaco (fulviociriaco)
Assigned to: Stefan Ulrich (stefanulrich)
Summary: invalid pointer freed in fontmap.c

Initial Comment:
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);


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2011-01-28 19:20

Message:
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).

----------------------------------------------------------------------

Comment By: Stefan Ulrich (stefanulrich)
Date: 2009-01-28 20:44

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

----------------------------------------------------------------------

Comment By: fulvio ciriaco (fulviociriaco)
Date: 2009-01-28 20:05

Message:
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

----------------------------------------------------------------------

Comment By: Stefan Ulrich (stefanulrich)
Date: 2009-01-28 19:02

Message:
Hi,

this is fixed by a kpathsea update in the CVS but hasn't been released
yet:
http://xdvi.cvs.sourceforge.net/viewvc/xdvi/xdvik/texk/kpathsea/fontmap.c?r1=1.5&r2=1.6


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=2542973&group_id=23164

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d