as we parse datestrings from external sources a lot specify the length
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 4 Mar 2012 23:37:54 +0000 (00:37 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 4 Mar 2012 23:37:54 +0000 (00:37 +0100)
commit324cbd5693a3cf13224561aa14fc2057d8696469
tree8a7d661f0fd509622642152149d5e8bdfe0a8677
parent785412cf3b03878fc6857c7d453376a029d9eb6a
as we parse datestrings from external sources a lot specify the length
of the integer fields as well to avoid crashes in scanf as cppchecks warns:
"(warning) scanf without field width limits can crash with huge input data"
apt-pkg/contrib/strutl.cc