Attention is currently required from: laforge, pespin.

jolly has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmo-netif/+/36020?usp=email )

Change subject: stream_cli: Call read callback even if connection failed
......................................................................


Patch Set 6:

(1 comment)

File src/stream_cli.c:

https://gerrit.osmocom.org/c/libosmo-netif/+/36020/comment/dc2c6213_4d7c5f2a
PS5, Line 447:          /* Forward message to read callback, also if the 
connection failed. */
> I already though on the previous patch: Shouldn't this callback happen 
> *before* reconnecting? Or it' […]
Yes, it is called at the end to prevent a use-after-free bug. The user may 
decide to destroy the cli instance.



--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/36020?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ie2335987c38863bad5de1d2d4dbdf4c8373f927f
Gerrit-Change-Number: 36020
Gerrit-PatchSet: 6
Gerrit-Owner: jolly <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Comment-Date: Mon, 04 Mar 2024 10:45:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Gerrit-MessageType: comment

Reply via email to