This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
823
Wiki
Activity
Browse Source
MT#55283 fix possible null deref
closes
#1575
Change-Id: Ie6f2cb9708c3a9248d763b1a01b4483a0fc81483
pull/1649/head
Richard Fuchs
3 years ago
parent
b65ebad7a4
commit
5b24f2340e
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
daemon/codec.c
+ 2
- 1
daemon/codec.c
View File
@ -2039,7 +2039,8 @@ static int packet_dtmf_fwd(struct codec_ssrc_handler *ch, struct transcode_packe
skip
:
if
(
output_ch
)
obj_put
(
&
output_ch
-
>
h
)
;
obj_put
(
&
decoder_ch
-
>
h
)
;
if
(
decoder_ch
)
obj_put
(
&
decoder_ch
-
>
h
)
;
}
char
*
buf
=
malloc
(
packet
-
>
payload
-
>
len
+
sizeof
(
struct
rtp_header
)
+
RTP_BUFFER_TAIL_ROOM
)
;
Write
Preview
Loading…
Cancel
Save