DragonFlyBSD Kernel Audit
DF-0453 / run.log
← back to finding ↓ download raw
=== DF-0453: rfcomm_session_newconn wrong session var ===

Listener session id=0 (is_listener=1)

[BUGGY] After newconn:
  Listener has_timeout=1, timeout_arg=LISTENER (self)
  New session has_timeout=0 (SHOULD be 1)

  BUG CONFIRMED: timer armed on LISTENER, new session has NO timer
  Impact: new session leaks (no expiry) + listener gets spurious timeout

[FIXED] After newconn:
  Listener has_timeout=0 (correct: timer not disturbed)
  New session has_timeout=1, timeout_arg=NEW (self)

  FIX CORRECT: timer correctly on new session, listener untouched
RUN_EXIT=0