[OpenSIPS-Devel] [OpenSIPS/opensips] fe598e: Fix computing the size to clone for a body part
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 27 15:18:29 UTC 2023
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: fe598e9017f6fcbd1149c6ab271780263627f72c
https://github.com/OpenSIPS/opensips/commit/fe598e9017f6fcbd1149c6ab271780263627f72c
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
(cherry picked from commit a042588e322c5acf997313773cbc5ff6e007c956)
More information about the Devel
mailing list