Skip to content

Changes

Started by upstream project gerrit-osmo-pcap #243
Started 12 hr ago
Queued 3 min 54 sec
Took 1 min 41 sec on build4-deb12build-ansible
server: do not abort process on short conn message

conn_read_cb() used OSMO_ASSERT() to check that the received
message holds at least a full osmo_pcap_data header.  Although
conn_segmentation_cb2() should only ever hand up complete frames,
asserting on a length derived from network input means a framing
anomaly would abort the entire server (taking down all other clients'
captures).  Close the offending connection gracefully instead,
consistent with the other error paths in this function.

Change-Id: Ia102ff918ef8152d212e10a860f5dc70efec880b
AI-Assisted: yes (Claude)
Vadim Yanitskiy at