Igor Schein on Tue, 19 Jan 1999 13:56:27 -0500 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
buffer overflow |
Hi, this is my .gprc file: ------------------------------------------------------------------------ read "/home/igor/.libgp" ------------------------------------------------------------------------ this is my .libgp file: ------------------------------------------------------------------------ res=-23708160*x^9 - 225566208*x^8 - 1131314688*x^7 - 3968372736*x^6 -\ 7276863744*x^5 - 1112932224*x^4 + 22694392512*x^3 + +49279399488*x^2 +\ 50845741200*x + 22483386864; ------------------------------------------------------------------------ this is what I do: % gp -q ? \r ? \r *** buffer overflow in get_sep. I traced it down to the fact that GET_SEP_SIZE is defined to be 128, so the error occurs when a line in the input file is longer than 128. But I don't understand why it has to occur, and why it occurs only after the 2nd \r. Thanks Igor