diff options
author | Tilman Schmidt <tilman@imap.cc> | 2009-06-07 11:09:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-08 09:45:51 +0200 |
commit | 7d31acda9f8eaa27e2fd232712f7e1f3e9a79bdb (patch) | |
tree | 977fbd3081ba483b01c37dd1913ba4c9a0a95117 /Documentation/isdn | |
parent | isdn: kerneldoc for capiutil.c (diff) | |
download | linux-7d31acda9f8eaa27e2fd232712f7e1f3e9a79bdb.tar.xz linux-7d31acda9f8eaa27e2fd232712f7e1f3e9a79bdb.zip |
isdn: prevent NULL ptr Oops in capi_cmsg2str()
The dereferencing of the private pointer cmsg->m in capi_cmsg2str() may
cause an Oops in case of an error, which is particularly inconvenient
as that function is typically used to format an error message. Add a
NULL pointer check to avoid this.
Impact: error handling improvement
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/isdn')
0 files changed, 0 insertions, 0 deletions