]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
applicom.c: fix apparently-broken code in do_ac_read()
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 16 Oct 2008 05:04:18 +0000 (22:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:47 +0000 (11:21 -0700)
commitbc20589bf1c63e4e8bee57855568458ba303306b
treead5c322d88f0a0b0fdd2ecafc207eb91c626d4f6
parentd05abab9a47d3245664eee413769af2e1e4b1faf
applicom.c: fix apparently-broken code in do_ac_read()

The code scriblles over a local pointer whereas it appears to be trying
to write to the memory at which that pointer points.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=11397

Nobody we know can test this change.

Reported-by: Zvonimir Rakamaric <zrakamar@cs.ubc.ca>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/applicom.c