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
0000327 [uClibc++] Other major always 07-06-05 15:52 08-02-05 20:13
Reporter tommi View Status public  
Assigned To gkajmowi
Priority normal Resolution fixed  
Status closed   Product Version 0.1.11
Summary 0000327: infinite loop in operator<< for basic_streambuf
Description basic_ostream<charT,traits>& basic_ostream<charT, traits>::operator<<(basic_streambuf<charT,traits>* sb)

should output the streambuf to the ostream until eof. It uses the method sgetc to extract character, but this method does not increase the get pointer, which results in a infinite loop. Use sbumpc instead.
Additional Information patch attached
Attached Files  ostream2.diff [^] (333 bytes) 07-06-05 15:52

- Relationships

- Notes
(0000272)
gkajmowi
07-08-05 09:59

Applied patch - appears to work fine.
 

- Issue History
Date Modified Username Field Change
07-06-05 15:52 tommi New Issue
07-06-05 15:52 tommi File Added: ostream2.diff
07-08-05 09:59 gkajmowi Status assigned => resolved
07-08-05 09:59 gkajmowi Fixed in Version  => 0.1.12
07-08-05 09:59 gkajmowi Resolution open => fixed
07-08-05 09:59 gkajmowi Note Added: 0000272
08-02-05 20:13 andersen Status resolved => closed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker