[Kaffe] could this buffer overflow?

Raffaele Sena raff at nuvomedia.com
Fri Feb 5 13:35:04 PST 1999


From: Moses DeJong <dejong at cs.umn.edu>
>Is it just me or does it seem like this buffer could overflow if
>the CLASS_SOURCEFILE name is longer than 30 chars?
>
>
>Why not use snprintf so?
>
>
>snprintf(buff, 200, ...
>
    snprintf is, unfortunately, Windows ONLY :(

-- Raffaele




More information about the kaffe mailing list