Re: [CODE] Say command crashes goodies tarball?

From: Mark Garringer (
Date: 01/25/03

>sizeof("aehiopstuwxyz") == 13 > sizeof(letters) == 12
>The bug is in the strcpy() above. letters should be at least
>sizeof() the longest string in the switch, and you wouldn't
>really be wasting a lot of space if you made it a bit larger;
>char letters[50];

We were able to find that too finally :)

Even after my own friendly reminder comment to up the size of letters[]
I guess I just can't count.

Thanks to everyone for their feedback and help!


The new MSN 8: advanced junk mail protection and 2 months FREE*

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/26/03 PDT