Bug 7181 - Double free in lbuscd
Summary: Double free in lbuscd
Status: ASSIGNED
Alias: None
Product: LTSP
Classification: Unclassified
Component: local devices (show other bugs)
Version: unspecified
Hardware: PowerPC Linux (All)
: high normal
Assignee: Jim McQuillan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-10 14:42 UTC by Vincent Bernat
Modified: 2013-03-15 14:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vincent Bernat 2006-06-10 14:42:59 UTC
lbuscd contains a double free bug.

Something coming in from sock: 5
Lost connection from 5
*** glibc detected *** double free or corruption (fasttop): 0x1001c560 ***

I think, that checking Clients[sock].bufsize before freeing Clients[sock].buf at
line 444 may solve the bug.
Comment 1 Jim McQuillan 2006-06-21 01:31:05 UTC
I've modified lbuscd to fix the double-free problem.  It seems to work fine for
me. We'd like to get more testing, so we've placed the file on the LTSP wiki,
for people to download and try.

The wiki page is:

  http://wiki.ltsp.org/twiki/bin/view/Ltsp/LTSP-42-LocalDev#LbuscdFix1
Comment 2 chemtech 2013-03-15 14:14:55 UTC
Vincent Bernat 
Do you still experience this issue with newer drivers ?
Please check the status of your issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.