Nulling dispacket on page load failures to prevent segmentation faults.
This commit is contained in:
parent
cf477ea401
commit
e9364d8d78
1 changed files with 2 additions and 0 deletions
|
@ -769,6 +769,7 @@ namespace Mist {
|
|||
buffer.insert(nxt);
|
||||
}
|
||||
}else{
|
||||
thisPacket.null();
|
||||
dropTrack(nxt.tid, "page load failure", true);
|
||||
}
|
||||
return false;
|
||||
|
@ -821,6 +822,7 @@ namespace Mist {
|
|||
MEDIUM_MSG("Next page for track %u starts at %llu.", nxt.tid, nxt.time);
|
||||
}
|
||||
}else{
|
||||
thisPacket.null();
|
||||
dropTrack(nxt.tid, "page load failure");
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue