From: Stefan Richter Date: Wed, 20 Feb 2008 20:10:06 +0000 (+0100) Subject: firewire: fix NULL pointer deref. and resource leak X-Git-Tag: v2.6.25-rc4~158^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fae603121428ba83b7343c88e68a7144525ab3eb;p=pandora-kernel.git firewire: fix NULL pointer deref. and resource leak By supplying ioctl()s in the wrong order, a userspace client was able to trigger NULL pointer dereferences. Furthermore, by calling ioctl_create_iso_context more than once, new contexts could be created without ever freeing the previously created contexts. Thanks to Anders Blomdell for the report. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed