Fixed a segfault in the buffer on track deletion, added a WARN-level message when/if something similar occurs.
This commit is contained in:
parent
4c1760f5f7
commit
aa2dd8491c
2 changed files with 15 additions and 8 deletions
|
@ -1116,6 +1116,9 @@ namespace IPC {
|
|||
|
||||
userConnection::userConnection(char * _data) {
|
||||
data = _data;
|
||||
if (!data){
|
||||
WARN_MSG("userConnection created with null pointer!");
|
||||
}
|
||||
}
|
||||
|
||||
unsigned long userConnection::getTrackId(size_t offset) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue