summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-03-27 10:03:49 -0400
committerJoshua Colp <jcolp@digium.com>2017-04-04 10:14:26 +0000
commit380973cc477f0060b7bfe09ad1034a0b53a343fd (patch)
tree35f4b44d210004283fe2f5449e52518ef0705103 /res/res_pjsip_sdp_rtp.c
parenta889621b14a55994fcfe68341af3cef2484ff74b (diff)
CDR: Protect from data overflow in ast_cdr_setuserfield.
ast_cdr_setuserfield wrote to a fixed length field using strcpy. This could result in a buffer overrun when called from chan_sip or func_cdr. This patch adds a maximum bytes written to the field by using ast_copy_string instead. ASTERISK-26897 #close patches: 0001-CDR-Protect-from-data-overflow-in-ast_cdr_setuserfie.patch submitted by Corey Farrell (license #5909) Change-Id: Ib23ca77e9b9e2803a450e1206af45df2d2fdf65c
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
0 files changed, 0 insertions, 0 deletions