projects
/
am-utils-6.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac95ac
)
avoid possible null pointer deref (coverity)
author
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:16:21 +0000
(20:16 +0000)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:16:21 +0000
(20:16 +0000)
hlfsd/homedir.c
patch
|
blob
|
history
diff --git
a/hlfsd/homedir.c
b/hlfsd/homedir.c
index 2a8e3a24812b4cfe6b596931cde9161ec3e59942..2063878a6884a37745a5cc25a6c96502830945a1 100644
(file)
--- a/
hlfsd/homedir.c
+++ b/
hlfsd/homedir.c
@@
-266,7
+266,8
@@
delay(uid2home_t *found, int secs)
{
struct timeval tv;
- dlog("delaying on child %ld for %d seconds", (long) found->child, secs);
+ if (found)
+ dlog("delaying on child %ld for %d seconds", (long) found->child, secs);
tv.tv_usec = 0;