From b185f4f73304365925233d703c650544f2af2d43 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 28 Mar 2008 20:03:48 +0000 Subject: [PATCH] Blocked revisions 111811 via svnmerge ........ 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-fbb531ad65f3