Commit 0ab2182
committed
url: fix -Warray-bounds warning
Avoid out of bounds access to `url_host_value.ipv6` array.
PR-URL: nodejs#9751
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 11b0872 commit 0ab2182
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | | - | |
| 475 | + | |
477 | 476 | | |
478 | | - | |
479 | 477 | | |
480 | 478 | | |
481 | 479 | | |
| |||
0 commit comments