summaryrefslogtreecommitdiff
path: root/drivers/ieee1394/ohci1394.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-01-03 18:32:13 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-02-08 19:59:03 (GMT)
commitb2051f887351864d862160e75bc24362c7af8914 (patch)
treed4e2b95a04fedbe6cbb21302dbd36259e6b4f26f /drivers/ieee1394/ohci1394.c
parente658bc556b3b2e699c5d9ba65fcc955f35105f42 (diff)
downloadlinux-b2051f887351864d862160e75bc24362c7af8914.tar.xz
ieee1394: nodemgr: check info_length in ROM header earlier
The whole ROM area which is covered by the crc_length field of the ROM header was fetched before the info_length field was checked for correct general ROM format. This might be wasteful or even dangerous with nodes with minimal ROM, nonstandard ROM, or corrupt ROM. Perform this check at the earliest opportunity. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
0 files changed, 0 insertions, 0 deletions