Fix: don't delete stream from connection recv list
authorDavid Goulet <dgoulet@efficios.com>
Thu, 3 Apr 2014 17:14:00 +0000 (13:14 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 8 Apr 2014 17:13:14 +0000 (13:13 -0400)
commitc510c1bb5ac7978a0967e52857c615924f7a0caa
tree2306bc221f51faab57c8ea43d8a3b433572819a1
parentaeb8d6a340e0f991d61c19c00d636d1ba10d283e
Fix: don't delete stream from connection recv list

We don't need to delete them from the list during a connection destroy
because it's only a reference to the stream that might be valid or not
during the connection destroy. There is no need at all to access the
stream's pointer at that point.

Commit cd2ef1ef1d54ced9e4d0d03b865bb7fc6a905f80 did not fixed the full
issue so this should fix the use after free race for good.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/connection.c
src/bin/lttng-relayd/main.c
This page took 0.025869 seconds and 4 git commands to generate.