[OpenSIPS-Devel] [OpenSIPS/opensips] 34eaed: Fix potential memory corruption on TCP write error...
Liviu Chircu
liviu at opensips.org
Tue Oct 27 18:05:18 CET 2015
Branch: refs/heads/2.1
Home: https://github.com/OpenSIPS/opensips
Commit: 34eaedeb5bf1ed47f5170e34c7beffbbd1f52c67
https://github.com/OpenSIPS/opensips/commit/34eaedeb5bf1ed47f5170e34c7beffbbd1f52c67
Author: Liviu Chircu <liviu at opensips.org>
Date: 2015-10-27 (Tue, 27 Oct 2015)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Fix potential memory corruption on TCP write errors
This patch fixes a well-hidden TCP connection referencing bug which
would only reveal itself upon running into failed TCP send() operations
due to various reasons (e.g. full send buffer) in high-traffic environments.
Credits to Hieu Ta and Don Steul from Jibe Mobile for detailed reporting
and providing an adequate replication environment
(cherry picked from commit 3e1a1a719215814f983001eef199ad01a263244f)
Commit: 17255b2ea6ae5a24d8a3d544faeedee20618e766
https://github.com/OpenSIPS/opensips/commit/17255b2ea6ae5a24d8a3d544faeedee20618e766
Author: Liviu Chircu <liviu at opensips.org>
Date: 2015-10-27 (Tue, 27 Oct 2015)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
TCP aliases: Fix more race conditions (issue #589)
_tcpconn_find() returns a pointer which should never be used outside of
TCP lock. This patch completes commit 22f4c1a2e05 by fixing two
additional issues of the same type in tcpconn_add_alias()
(cherry picked from commit cb5eebe00ea735f290a213ea74f55b4afcc06236)
Compare: https://github.com/OpenSIPS/opensips/compare/fdf38edbef7b...17255b2ea6ae
More information about the Devel
mailing list