]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: fix NULL pointer dereference in sysfs access
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 1 May 2008 08:43:04 +0000 (10:43 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 1 May 2008 17:55:23 +0000 (19:55 +0200)
commit07c7224cf74c3977c69c7c9a0b0fba264f2df36a
tree5631421f793e43e990820f33bdf6eb981f586792
parente38649702ea64fdbbab3dd459bf8558142dd3bc4
ieee1394: fix NULL pointer dereference in sysfs access

Regression since "ieee1394: prevent device binding of raw1394,
video1394, dv1394", commit d2ace29fa44589da51fedc06a67b3f05301f3bfd:
$ cat /sys/bus/ieee1394/drivers/raw1394/device_ids
triggers a NULL pointer dereference in fw_show_drv_device_ids.
Reported by Miles Lane.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Tested-by: Miles Lane <miles.lane@gmail.com>
drivers/ieee1394/nodemgr.c