gdth: Prevent negative offsets in ioctl CVE-2009-3080
authorDave Jones <davej@redhat.com>
Mon, 19 Oct 2009 23:55:13 +0000 (19:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 19:17:03 +0000 (11:17 -0800)
commit 690e744869f3262855b83b4fb59199cf142765b0 upstream.

A negative offset could be used to index before the event buffer and
lead to a security breach.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found