Commit 85f3584
committed
lerptag: Ensure we never return uninitialized data
If for any reason, we fail to find a tag for iqm/md5 code, if the
attachment is uninitialized like in the entity cache code, we will
return NaNs. Fixes this crash for me:
```
tuple=...) at /mnt/media/code/unv-master/daemon/src/common/Util.h:136
at /mnt/media/code/unv-master/daemon/src/common/Util.h:141
```1 parent 2e5b685 commit 85f3584
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
| |||
476 | 479 | | |
477 | 480 | | |
478 | 481 | | |
479 | | - | |
480 | | - | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| |||
0 commit comments