mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
r17873: Fix possible null deref found by Stanford checker.
Jeremy. (This used to be commit 1adb3b2432187e9a19b78cfa5762c3e05a357392)
This commit is contained in:
parent
b65eb11a2e
commit
981588d579
@ -80,8 +80,9 @@ static char *grab_line(FILE *f, int *cl)
|
||||
|
||||
}
|
||||
|
||||
|
||||
ret[i] = 0;
|
||||
if (ret) {
|
||||
ret[i] = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user