summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2014-06-18 18:51:19 +0200
committerDavid Sterba <dsterba@suse.cz>2014-08-22 14:43:09 +0200
commit93ebec96f2ae1d3276ebe89e2d6188f9b46692fb (patch)
tree92d561c7abceb47c904b5a3d734dccb11f76793b /cmds-check.c
parentf8c6dabca56c8aa277c0019fecb3c0169497323a (diff)
btrfs-progs: restore: check lzo compress length
When things go wrong for lzo-compressed btrfs, feeding lzo1x_decompress_safe() with corrupt data during restore can lead to crashes. Reduce the risk by adding a check on the input length. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions