summaryrefslogtreecommitdiffstats
path: root/src/vty/logging_vty.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-07-09 20:25:24 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-10 20:30:56 +0200
commitcad54b8fb7b0eaec12ee13a5b5cc9ef920152fd2 (patch)
treeb02dc350a4dcb179d27ee48018054ebca15be09a /src/vty/logging_vty.c
parent47aa482bb0094edfc21bbb45dc0f0e8c9c42c521 (diff)
LAPD: Free resume/re-establishment msgb if it carries no content
lapdm.c takes the re-establishment message and forwards it to lapd_core.c, so we can assume that msgb is set at primitive. In case there is data in the re-establishment msg, it is moved into send_buffer. In case of no data (0 length), it must be freed. Fixes an issue spotted by Coverity Scan.
Diffstat (limited to 'src/vty/logging_vty.c')
0 files changed, 0 insertions, 0 deletions