Skip to content
Success

Changes

Summary

  1. pcap-server: Avoid closing cli conn if writing to disk fails (details)
  2. pcap-server: Validate rolling over file was successful before writing to (details)
Commit 83bdce6d79639669e1a77b2bc92dcd869b545e68 by Pau Espin Pedrol
pcap-server: Avoid closing cli conn if writing to disk fails

Related: SYS#7374
Change-Id: I06b20a17fae064a74e2acdc4549df400ad9c4930
The file was modifiedsrc/osmo_server_core.c
Commit 081ea904fa4f7552a362254b5b6e11dde38a1483 by Pau Espin Pedrol
pcap-server: Validate rolling over file was successful before writing to it

If reopening the file fails (eg. disk full), we'd end up with a null
conn->wrf pointer there which would segfault in
osmo_pcap_wr_file_write_msgb() immediatelly below.

Change-Id: I103d3f66bf40c68db1a20a987bc984989c91b447
The file was modifiedsrc/osmo_server_core.c