commit | 64579fcc57fd00e1e9f021eba90d01d3371dc6b7 | [log] [tgz] |
---|---|---|
author | Alyssa Milburn <amilburn@zall.org> | Sat Apr 01 14:34:08 2017 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 15:44:42 2017 +0200 |
tree | 39d8f77a7471def7776388d91bdf82d61b507c02 | |
parent | 466b45af50fd27754dff2982c65396c5ca9d461c [diff] |
zr364xx: enforce minimum size when reading header commit ee0fe833d96793853335844b6d99fb76bd12cbeb upstream. This code copies actual_length-128 bytes from the header, which will underflow if the received buffer is too small. Signed-off-by: Alyssa Milburn <amilburn@zall.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>