git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b781312
)
Fix bso#3185, return false when EOF is encountered in param name.
author
Holger Hetterich
<hhetter@novell.com>
Sat, 4 Dec 2010 17:18:50 +0000
(18:18 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 5 Mar 2011 13:34:41 +0000
(14:34 +0100)
(cherry picked from commit
a9664633c667f6d02f33b951805882258604ff1c
)
lib/util/params.c
patch
|
blob
|
history
diff --git
a/lib/util/params.c
b/lib/util/params.c
index 80adc71fca2ed96e0d9b0bcc8df139c4903d0818..376fed4078c599f458b74aec01d954f96501e207 100644
(file)
--- a/
lib/util/params.c
+++ b/
lib/util/params.c
@@
-358,7
+358,7
@@
static bool Parameter( myFILE *InFile, bool (*pfunc)(const char *, const char *,
case EOF:
InFile->bufr[i] = '\0';
DEBUG(1,("%s Unexpected end-of-file at: %s\n", func, InFile->bufr ));
- return(
tru
e );
+ return(
fals
e );
default:
if( isspace( c ) ) /* One ' ' per whitespace region. */