1
0
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:
Jeremy Allison 2006-08-28 04:55:05 +00:00 committed by Gerald (Jerry) Carter
parent b65eb11a2e
commit 981588d579

View File

@ -80,8 +80,9 @@ static char *grab_line(FILE *f, int *cl)
}
ret[i] = 0;
if (ret) {
ret[i] = 0;
}
return ret;
}