Re: Utilities to test buffer overflow...

From: Vladimir Nano (nano.vladimir@slsp.sk)
Date: 02/27/03


Hallo:-)
>There are multiple causes of buffer overflows. Try running grep "BUFFER
>OVERFLOW" * in your src directory to find out the possible functions,and
>I believe there should be a few that are generating the message.
I wrote, I know, why it occurs: it is in sanity_check(), and (in short)
[buf] [sizeof(buf)-1] != [MAGIC_NUM | '\0']. But in code is 1000 ;-)
assignings
to buf[]. How to find (easy) error assigning. ;-)

>Who knows, also look into
>lint. It can find subtle bugs in code. Good luck.
Lint? Where can I find it, please?

        Thank You
        VladoN

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



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