pcap-server: Validate rolling over file was successful before writing to (details)
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.