diff options
| author | Omar Ramirez Luna <[email protected]> | 2013-01-10 03:36:58 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-17 16:47:13 -0800 |
| commit | 7c256647b5ef8094ca3a6f43a442d6d8aac18058 (patch) | |
| tree | 82e1a5b1122ff34abf1faa1d744a450749349c8f /tools/perf/scripts/python/netdev-times.py | |
| parent | f14287b9671d462a54d3b6800832fb519284eb34 (diff) | |
staging: tidspbridge: fix potential array out of bounds write
The name of the firmware (drv_datap->base_img) could potentially
become equal to 255 valid characters (size of exec_file), this
will result in an out of bounds write, given that the 255 chars
along with a '\0' terminator will be copied into an array of
255 chars.
Produce an error on this cases, because the driver expects the NULL
ending to be among the 255 char limit.
Reported-by: Chen Gang <[email protected]>
Signed-off-by: Omar Ramirez Luna <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions