Skip to content

Changes

Started by upstream project gerrit-osmo-pcap #250
Started 12 hr ago
Queued 2 min 27 sec
Took 1 min 30 sec on build4-deb12build-ansible
server: fix msgb leak on duplicate link header

rx_link_hdr() takes ownership of msg on success (rx_link() only frees
it on failure).  Both branches that call update_conn_file_hdr_msg()
free msg, but when an identical link header was already stored neither
branch ran and msg was leaked.

This happens on every duplicate PKT_LINK_HDR, e.g. a client that
periodically resends its header.  Free msg explicitly in that case.

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