diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-21 17:32:14 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2005-11-21 17:32:14 -0500 |
commit | d734f92b0dc4c04daa2e0106354972cbbc2e0fbe (patch) | |
tree | c0eaa2ea898f5acc05d08bbe1a2914ed4aac8cfc /drivers/ieee1394/amdtp.h | |
parent | 977545e35289b13981614a57fd6c9b82d55e3b4a (diff) |
drivers/ieee1394/raw1394.c: fix a NULL pointer
The coverity checker spotted that this was a NULL pointer dereference in
the "if (copy_from_user(...))" case since the next step is to
kfree(cache->filled_head).
There's no need to free cache at this point, and it's getting free'd
later.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
Diffstat (limited to 'drivers/ieee1394/amdtp.h')
0 files changed, 0 insertions, 0 deletions