mirror of https://github.com/asterisk/asterisk
When updating an existing header the 'update' code incorrectly just copied the new value into the existing buffer. If the new value exceeded the available buffer size memory outside of the buffer would be written into, potentially causing a crash. This change makes it so that the 'update' now duplicates the new header value instead of copying it into the existing buffer.pull/501/head
parent
6bc81d0c86
commit
510f7798d8
Loading…
Reference in new issue