diff options
author | Arnd Bergmann <[email protected]> | 2016-08-08 12:13:45 +0200 |
---|---|---|
committer | David Howells <[email protected]> | 2016-08-09 10:51:38 +0100 |
commit | 55cae7a403f3b52de3dd6e4a614582541c9631af (patch) | |
tree | 83e7ce7e57b57abc3120132b411cb2182278fb63 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1fe323aa1b2390a0c57fb0b06a782f128d49094c (diff) |
rxrpc: fix uninitialized pointer dereference in debug code
A newly added bugfix caused an uninitialized variable to be
used for printing debug output. This is harmless as long
as the debug setting is disabled, but otherwise leads to an
immediate crash.
gcc warns about this when -Wmaybe-uninitialized is enabled:
net/rxrpc/call_object.c: In function 'rxrpc_release_call':
net/rxrpc/call_object.c:496:163: error: 'sp' may be used uninitialized in this function [-Werror=maybe-uninitialized]
The initialization was removed but one of the users remains.
This adds back the initialization.
Signed-off-by: Arnd Bergmann <[email protected]>
Fixes: 372ee16386bb ("rxrpc: Fix races between skb free, ACK generation and replying")
Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions