OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Vanja Hrustic (vanjavanja.com)
Date: Thu May 30 2002 - 09:57:42 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    I remember there were threads about this issue already, but it's hard to
    draw a conclusion.

    So - do all platforms properly null-terminate string (on overflow) when
    snprintf() is used, or one should still use "sizeof(string)-1" for the
    size of the snprintf()-ed string?

    Thanks.

    Vanja