vcl: segfault correction in vcl_session_connected_handler 02/42202/4
authorAlexey Stratulat <[email protected]>
Mon, 20 Jan 2025 11:34:25 +0000 (18:34 +0700)
committerFlorin Coras <[email protected]>
Mon, 20 Jan 2025 21:49:32 +0000 (21:49 +0000)
commit32b003cc7c192248441f9663f39d93cc24b0a0a9
tree577651cafe49dec2b583df27f668c8a01a3d96f2
parente40f8a90bb0c39986c198fca8ad9b0b3c1658401
vcl: segfault correction in vcl_session_connected_handler

Svace found a bug related to the fact that the
vcl_segment_attach_session function is passed
a pointer to a session, which is null, because of this,
when using it, a segmentation error will occur inside the function.

This issue was fixed.

Type: fix

Change-Id: Icc68ced80611bb709c9fa7868816f003373077d4
Signed-off-by: Alexey Stratulat <[email protected]>
src/vcl/vppcom.c