commit | 3caa1ca92d98bf27019267296505c3ac0fdf6d72 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Sat Aug 17 23:02:10 2019 +0000 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Aug 20 19:21:03 2019 -0400 |
tree | 6ddac44b28c4b6502972d855b801918b77d9ccd6 | |
parent | 61e084f102eca234bde74d966354263754971c3f [diff] |
logging: avoid buffer overrun extracting arguments The number of arguments for a format string is approximated by the number of conversion specifications. This count may exceed the maximum supported argument count. Limit the extraction to the available space. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>