aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-02-17 14:17:30 -0200
committerMauro Carvalho Chehab <[email protected]>2017-04-17 12:09:52 -0300
commit21f9f2ef7c12dcefbdadaf96382bf547f84f23b3 (patch)
tree253fce12816b835ee4c03256158623dcd2956e1f /scripts/gdb/linux/utils.py
parent56b27d4dd3eccff618be2f8417aef86f59a2c0d4 (diff)
[media] Staging: media/lirc: don't call put_ir_rx on rx twice
There is an exit path where rx is kfree'd on put_ir_rx and then a jump to label out_put_xx will again kfree it with another call to put_ir_rx. Fix this by adding a new label that avoids this 2nd call to put_ir_rx for this specific case. Detected with CoverityScan, CID#145119 ("Use after free") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions