[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: crash if line lengths over 256



Had a particular VCard that kept crashing our web site, tracked the problem down to a NOTES field that was well over the apparent 256 byte limit on token (line) sizes. We temporarily fixed it by changing the MAXTOKEN #define to a larger number (we used 4096). Of course, a better long term solution would be to use a string buffer, or at least check if the field is over the limit. Problem with YACC?

regards,
Sean Jorden