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