Commit f68f9208 authored by aymeric's avatar aymeric

Make sure we erase previous buffer values.

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent f326ffa7
......@@ -141,6 +141,7 @@ void payload_type_destroy(PayloadType *pt)
bool_t fmtp_get_value(const char *fmtp, const char *param_name, char *result, size_t result_len){
const char *pos=strstr(fmtp,param_name);
memset(result, '\0', result_len);
if (pos){
const char *equal=strchr(pos,'=');
if (equal){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment