commit | 4a55d5852adbe66722fb1636c82c7864cd5be441 | [log] [tgz] |
---|---|---|
author | Sven Neumann <s.neumann@raumfeld.com> | Thu Dec 09 09:38:36 2010 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 13 14:53:46 2010 -0500 |
tree | 959097a4adcd191417e2f59b07cb404edc3b1854 | |
parent | 10c38c3306c04ec26b1536d30b8b11ccab32faa5 [diff] |
libertas: fix potential NULL-pointer dereference The code wants to check if there's a channel and it is not disabled, but it used to check if channel is not NULL and accessed the channel struct if this check failed. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>