aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorTilman Schmidt <[email protected]>2014-10-11 13:46:30 +0200
committerDavid S. Miller <[email protected]>2014-10-14 15:05:34 -0400
commitb8324f94202af7dc688576259803a2ef9a98d655 (patch)
tree05043b6668f823104c3f5eb29451a3b4f0941efd /scripts/gdb/linux/proc.py
parent846ac30135e7c5e03b487c16c87ccb1ab020a01f (diff)
isdn/gigaset: fix non-heap pointer deallocation
at_state structures may be allocated individually or as part of a cardstate or bc_state structure. The disconnect() function handled both cases, creating a risk that it might try to deallocate an at_state structure that had not been allocated individually. Fix by splitting disconnect() into two variants handling cases with and without an associated B channel separately, and adding an explicit check. Spotted with Coverity. Signed-off-by: Tilman Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions