commit | 7d31acda9f8eaa27e2fd232712f7e1f3e9a79bdb | [log] [tgz] |
---|---|---|
author | Tilman Schmidt <tilman@imap.cc> | Sun Jun 07 09:09:24 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 08 00:45:51 2009 -0700 |
tree | 977fbd3081ba483b01c37dd1913ba4c9a0a95117 | |
parent | 4793d15b25821003486bb11b54eaf2f3130ecacd [diff] |
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>