mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Check for null data ptr
This commit is contained in:
parent
f66fac3982
commit
523df47a65
1 changed files with 1 additions and 1 deletions
|
@ -2449,7 +2449,7 @@ public:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (len >= 0) {
|
if ((len >= 0)&&(data)) {
|
||||||
// Check to see if we've already written this first. This reduces
|
// Check to see if we've already written this first. This reduces
|
||||||
// redundant writes and I/O overhead on most platforms and has
|
// redundant writes and I/O overhead on most platforms and has
|
||||||
// little effect on others.
|
// little effect on others.
|
||||||
|
|
Loading…
Add table
Reference in a new issue