diff options
author | Jan Kara <[email protected]> | 2014-12-19 14:27:55 +0100 |
---|---|---|
committer | Jan Kara <[email protected]> | 2014-12-21 22:42:19 +0100 |
commit | e237ec37ec154564f8690c5bd1795339955eeef9 (patch) | |
tree | 33e14928a5c2fdee03df67e2e1e4f9991e056fc7 /lib/genalloc.c | |
parent | 0e5cc9a40ada6046e6bc3bdfcd0c0d7e4b706b14 (diff) |
udf: Check component length before reading it
Check that length specified in a component of a symlink fits in the
input buffer we are reading. Also properly ignore component length for
component types that do not use it. Otherwise we read memory after end
of buffer for corrupted udf image.
Reported-by: Carl Henrik Lunde <[email protected]>
CC: [email protected]
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions