[OpenSIPS-Devel] [OpenSIPS/opensips] 888a62: Fix computing the size to clone for a body part
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 27 15:17:50 UTC 2023
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 888a62cc9b1a125b221cf7836fd78b9eaaaac26a
https://github.com/OpenSIPS/opensips/commit/888a62cc9b1a125b221cf7836fd78b9eaaaac26a
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