[Click] Can/does cp_va_(k)parse check size of its arguments?
Bart Braem
Bart.Braem at ua.ac.be
Tue May 6 04:03:04 EDT 2008
Hello,
One of our students encountered a nasty bug where he parsed an element
configuration into variables that were too small: he used a cpUnsigned
argument to put data in a uint8_t. The variables next to that uint8_t
where overwritten and some bytes were mysteriously changed.
At first sight cp_va_kparse does check for this size problem but it
does not seem to work, or am I mistaken?
Regards,
Bart
--
Bart Braem
PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G2.36
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be
More information about the click
mailing list