aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-06-14 22:57:55 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-06-21 22:24:55 -0700
commit38d10b5fd8eb81e10b9572359c90e627432217d1 (patch)
tree1ef31dd4d52779a474d35341cfd366f771321702 /lib/parser.c
parentf9cb92ec51b8700247c3aa560b31ba9885a33e73 (diff)
b43: Fix possible NULL pointer dereference in DMA code
a cut-down version of commit 028118a5f09a9c807e6b43e2231efdff9f224c74 upstream This fixes a possible NULL pointer dereference in an error path of the DMA allocation error checking code. In case the DMA allocation address is invalid, the dev pointer is dereferenced for unmapping of the buffer. Reported-by: Miles Lane <miles.lane@gmail.com> Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions