From: Jan-Henrik H. <ha...@ti...> - 2008-03-07 20:55:04
|
Just checking up on fill implementation and come over this in bootstrap/scanner.cc which I believe should be changed with this patch to avoid risking setting the top pointer into wonderland. Index: bootstrap/scanner.cc =================================================================== --- bootstrap/scanner.cc (revision 828) +++ bootstrap/scanner.cc (working copy) @@ -67,7 +67,7 @@ cursor = &buf[cursor - bot]; pos = &buf[pos - bot]; lim = &buf[lim - bot]; - top = &lim[BSIZE]; + top = lim + need; delete [] bot; bot = buf; |