Commit 2ae6cac
net_getsockname: do not dereference a NULL pointer
This very same check is present a couple of lines below, so there's no
point in repeating it. In any case the check must be done after checking
that the pointer is not NULL (which is done below).1 parent fbc8f2e commit 2ae6cac
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
1143 | 1142 | | |
1144 | 1143 | | |
1145 | 1144 | | |
| |||
0 commit comments