OSSP CVS Repository

ossp - Ticket #6 History
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [View

Ticket 6 History: str_vformat with %.10s specifier can read invalid memory

  1. Created 2002-Dec-03 13:58:29 by anonymous
  2. Added remarks:
    2009-Jun-15 13:34:58 by anonymous:
    the above code can still give a warning in valgrind; it's best to change the:

    while (*p++ != 0 && maxlen-- > 0)

    to:

    while (maxlen-- > 0 && *p++ != 0)

    by anonymous on 2009-Jun-15 13:34

CVSTrac 2.0.1