On Thu, 24 Jun 1999, Nocturnal Occulto wrote:
>> - if (strlen(str) > d->max_str) {
>> + if (strlen(str) + 1 > d->max_str) {
>
>Hmm I have that too, yet it still crashes if one spams a huge buffer
>long enough
Increase it to '+ 3' :)
--
George Greer | Sammy's Code - OBuild
greerga@circlemud.org | http://www.ticnet.com/samedi/code.html
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST