mirror of http://gerrit.asterisk.org/asterisk
........ r111811 | mmichelson | 2008-03-28 15:03:16 -0500 (Fri, 28 Mar 2008) | 11 lines This time the fix is proper for issue 12284. I have tested it thoroughly and found that valgrind no longer complains and that calls do complete correctly. The fix is along the same lines as before: Make sure the final null terminator gets copied into the new sip_request's data pointer. Without it, parse_request will read and potentially write past the end of the string, causing potential crashes. (closes issue #12284...for real this time!) reported by falves11 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111812 65c4cc65-6c06-0410-ace0-fbb531ad65f31.6.0
parent
339c3eda73
commit
b185f4f733