Commit 37a8983
fix: fix possible fmt exceptions where we might have passed null string (AcademySoftwareFoundation#5115)
I've heard occasional reports of uncaught exceptions in print
statements. I haven't caught it in the act yet, but one set of reports
involved the following output:
OpenImageIO/detail/fmt/format-inl.h:40: assertion failed: string pointer
is null
So I'm proactively trying to find places that might be passing a null as
a string. I'm just guessing here, but these are plausible candidates.
---------
Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
Signed-off-by: Vlad <shaamaan@gmail.com>1 parent 2060a57 commit 37a8983
File tree
3 files changed
+34
-11
lines changed- src
- libutil
- raw.imageio
3 files changed
+34
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1331 | 1339 | | |
1332 | 1340 | | |
1333 | 1341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
170 | 176 | | |
171 | 177 | | |
172 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
428 | 429 | | |
429 | | - | |
| 430 | + | |
430 | 431 | | |
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
| 437 | + | |
436 | 438 | | |
437 | | - | |
| 439 | + | |
438 | 440 | | |
439 | 441 | | |
440 | 442 | | |
| |||
912 | 914 | | |
913 | 915 | | |
914 | 916 | | |
915 | | - | |
916 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
917 | 920 | | |
918 | 921 | | |
919 | | - | |
920 | | - | |
921 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
922 | 927 | | |
923 | 928 | | |
924 | 929 | | |
| |||
928 | 933 | | |
929 | 934 | | |
930 | 935 | | |
931 | | - | |
932 | | - | |
933 | | - | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
934 | 941 | | |
935 | 942 | | |
936 | 943 | | |
| |||
1566 | 1573 | | |
1567 | 1574 | | |
1568 | 1575 | | |
1569 | | - | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1570 | 1579 | | |
1571 | 1580 | | |
1572 | 1581 | | |
| |||
0 commit comments