summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-03-31 18:26:39 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-10 18:51:13 +0400
commit4ba1d9c0c22947a9207029e7184733252e6135f1 (patch)
tree7801ca5b28bfb50a1992483ebbf86b46471b05dc /include
parentfe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7 (diff)
downloadlinux-4ba1d9c0c22947a9207029e7184733252e6135f1.tar.xz
firewire: cdev: disallow receive packets without header
In receive contexts, reject packets with header_length==0. This would be an instruction to queue zero packets which would not make sense. This prevents a division by zero in the OHCI driver. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions