From b6caec45829a1c0531fb90a1d4c33547eb0ce8ae Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 1 Jul 2020 10:46:15 +0200 Subject: [PATCH] TT#84599 pv_headers: fix coredump when no more shm is left, take two Change-Id: Ie5d094c0c9f185933c8f494930926b89300947ab --- debian/patches/sipwise/add_pv_headers_module.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/patches/sipwise/add_pv_headers_module.patch b/debian/patches/sipwise/add_pv_headers_module.patch index 2052880df..0eac06661 100644 --- a/debian/patches/sipwise/add_pv_headers_module.patch +++ b/debian/patches/sipwise/add_pv_headers_module.patch @@ -2701,7 +2701,7 @@ index 0000000..10aa216 \ No newline at end of file diff --git a/src/modules/pv_headers/pvh_xavp.c b/src/modules/pv_headers/pvh_xavp.c new file mode 100644 -index 0000000..4cc5a7e +index 0000000..6aaa8ca --- /dev/null +++ b/src/modules/pv_headers/pvh_xavp.c @@ -0,0 +1,1158 @@ @@ -3310,7 +3310,7 @@ index 0000000..4cc5a7e + return -1; + } + -+ if((xavi = pvh_get_xavi(msg, &xavi_name) == NULL)) { ++ if((xavi = pvh_get_xavi(msg, &xavi_name)) == NULL) { + LM_ERR("xavi %.*s not found\n", xavi_name.len, xavi_name.s); + return -1; + }