mirror of https://github.com/asterisk/asterisk
We read beyond the end of the buffer when copying the string out of the buffer when we used ast_copy_string() because the original string was not null terminated. Instead switch to ast_strndup() which does not exhibit the same behavior. ASTERISK-28975 #close Change-Id: Ib4a75cffeb1eb8cf01136ef30306bd623e531a2a18.0
parent
5fbed5af24
commit
e4d24f5137
Loading…
Reference in new issue