Fix out of bounds memory access
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 25 Dec 2012 17:06:57 +0000 (18:06 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 6 Jan 2013 17:20:47 +0000 (18:20 +0100)
commitcda8bee056c71acd01b2a70258f99d43ba826198
tree13e30368e747ca10f6d04ea72eccbf2b08e5f1d5
parent05bfbf422723fbb6c6e085e9b7f1bdb41afab7c8
Fix out of bounds memory access

cppcheck reported:
[tools/intel_infoframes.c:836]: (error) Width 31 given in format string
(no. 1) is larger than destination buffer 'option[16]',
use %15s to prevent overflowing it.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tools/intel_infoframes.c