Bug 7181

Summary: Double free in lbuscd
Product: LTSP Reporter: Vincent Bernat <bernat>
Component: local devicesAssignee: Jim McQuillan <jam>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.