Skip to content
Success

#21557 (Apr 26, 2026, 2:22:44 AM)

Started 14 hr ago
Took 1 min 18 sec on build4-deb12build-ansible

Started by upstream project gerrit-libosmo-abis build number 510
originally caused by:

This run spent:

  • 10 sec waiting;
  • 1 min 18 sec build duration;
  • 1 min 28 sec total from scheduled to completion.
Revision: 898f6d8b2059daef2e6c5752422f8efbe8ea4dcf
Repository: $GERRIT_REPO_URL
  • master
lapd_sap_stop(): fix use of uninitialized stack memory

DL-RELEASE in lapd_core can be done in two ways: by sending DISC
and waiting for UA, or a purely local clearing of state.  The
selection between these two modes is communicated via an extended
field in struct osmo_dlsap_prim that extends beyond the standard
struct osmo_prim_hdr.  lapd_sap_stop() is a wrapper function that
sends DL-RELEASE to lapd_core; its only current users are the
vendor-specific E1 BTS handlers for Ericsson and Nokia in OsmoBSC,
and both of those need local release handling.  This wrapper
function does allocate correctly-sized struct osmo_dlsap_prim
on the stack, but until now it failed to initialize the extended
field - hence the actual behavior was subject to laws of chance,
depending on uninitialized content of stack memory.

Change-Id: Ic1469698ee8edf9b6fb55df8f79cc062be711f61
falcon at