This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Commit dd701fb
committed
Avoiding arithmetic ops with NULL pointer in nxt_unit_mmap_get
Found by UndefinedBehaviorSanitizer.
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>1 parent c9461a6 commit dd701fb
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3502 | 3502 | | |
3503 | 3503 | | |
3504 | 3504 | | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
3505 | 3509 | | |
3506 | 3510 | | |
3507 | 3511 | | |
| |||
3598 | 3602 | | |
3599 | 3603 | | |
3600 | 3604 | | |
| 3605 | + | |
| 3606 | + | |
3601 | 3607 | | |
3602 | 3608 | | |
3603 | 3609 | | |
| |||
0 commit comments