[OpenSIPS-Devel] [OpenSIPS/opensips] a04258: Fix computing the size to clone for a body part
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 27 15:16:48 UTC 2023
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: a042588e322c5acf997313773cbc5ff6e007c956
https://github.com/OpenSIPS/opensips/commit/a042588e322c5acf997313773cbc5ff6e007c956
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M parser/parse_body.c
Log Message:
-----------
Fix computing the size to clone for a body part
Take the optional header len into account also when cloning a body part struct.
This particular bug occured when using add_body_part() with extra hdr parameter in conjunction with an async() operation (or failure route)
Credits for reporting and helping with repoducing this go to @thuroc
Fixes #3067
More information about the Devel
mailing list