[OpenSIPS-Devel] [OpenSIPS/opensips] 253ad4: [proto_ws] fix mem leak when hdr parsing fails
Bogdan Andrei IANCU
noreply at github.com
Wed Apr 24 19:00:46 UTC 2024
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 253ad43d3b69c667f4502ed7013a558c13c31823
https://github.com/OpenSIPS/opensips/commit/253ad43d3b69c667f4502ed7013a558c13c31823
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2024-04-24 (Wed, 24 Apr 2024)
Changed paths:
M modules/proto_ws/ws_handshake_common.h
Log Message:
-----------
[proto_ws] fix mem leak when hdr parsing fails
Even if the hdr parsing failed (due to a bogus hdr), you still have to free whatever hdrs were already parsed ;)
Reported by @11qeq11
Closes #3353
(cherry picked from commit 6a847364b5122d6abc76229c892fb8d48c24fac5)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list