BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001264 [uClibc++] Other crash always 03-07-07 13:11 03-07-07 18:09
Reporter tommi View Status public  
Assigned To gkajmowi
Priority normal Resolution fixed  
Status resolved   Product Version 0.2.2
Summary 0001264: flushing ostream in dtor is a bad idea
Description Flushing ostream in dtor is a bad idea. Derived classes may (will) destroy the streambuf in their dtor and because the dtor of the derived class is run first, the flush will segfault trying to access the buffer. So don't do that.
Additional Information
Attached Files

- Relationships

- Notes
(0002220)
gkajmowi
03-07-07 18:09

Fixed in SVN. fstream now calls flush on destruct. Any other code will need to do the same.
 

- Issue History
Date Modified Username Field Change
03-07-07 13:11 tommi New Issue
03-07-07 13:11 tommi Status new => assigned
03-07-07 13:11 tommi Assigned To  => gkajmowi
03-07-07 18:09 gkajmowi Status assigned => resolved
03-07-07 18:09 gkajmowi Fixed in Version  => 0.2.2
03-07-07 18:09 gkajmowi Resolution open => fixed
03-07-07 18:09 gkajmowi Note Added: 0002220


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker