Skip to content

v4l-utils: Fix crashes found by Mayhem

Gregor Jasny linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libv4lconvert: Prevent integer overflow by checking width and heightlib/libv4lconvert/ov511-decomp.c lib/libv4lconvert/ov518-decomp.c+12 -20 replies
2/2keytable: Always check if strtok return value is nullutils/keytable/keytable.c+16 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] v4l-utils: Fix crashes found by Mayhem

The Mayhem Team ran their code checker over the Debian archive and also found two crashes in v4l-utils.

See http://lists.debian.org/debian-devel/2013/06/msg00720.html

Gregor Jasny (2):
libv4lconvert: Prevent integer overflow by checking width and height
keytable: Always check if strtok return value is null

 lib/libv4lconvert/ov511-decomp.c |  7 ++++++-
 lib/libv4lconvert/ov518-decomp.c |  7 ++++++-
 utils/keytable/keytable.c        | 19 ++++++++++++++++---
 3 files changed, 28 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.3.1