AST-2016-004: Fix crash on REGISTER with long URI.
authorMark Michelson <mmichelson@digium.com>
Thu, 14 Apr 2016 12:23:54 +0000 (07:23 -0500)
committerMark Michelson <mmichelson@digium.com>
Thu, 14 Apr 2016 12:23:54 +0000 (07:23 -0500)
commit7b8b6e2e4faa21a3941bc6c71ad1bd94c40e53d1
tree0052bd6cbe641ed84622f17a3e36cbbc4e366ebe
parentfddec0c2664a65b5ffa18894af60bf4d81a7dafc
AST-2016-004: Fix crash on REGISTER with long URI.

Due to some ignored return values, Asterisk could crash if processing an
incoming REGISTER whose contact URI was above a certain length.

ASTERISK-25707 #close
Reported by George Joseph

Patches:
    0001-res_pjsip-Validate-that-URIs-don-t-exceed-pjproject-.patch

AST-2016-004

Change-Id: I3ea7cee16f29c8088794de3085ca7523c1c4833d
res/res_pjsip/include/res_pjsip_private.h
res/res_pjsip/location.c
res/res_pjsip_outbound_registration.c
res/res_pjsip_registrar.c