projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e5039
)
Fixed bug in the options parser;forgot to check for a NULL in a while loop
author
Theodore Tso
<tytso@mit.edu>
Wed, 6 Mar 1991 16:43:58 +0000
(16:43 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Wed, 6 Mar 1991 16:43:58 +0000
(16:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1866
dc483132
-0cff-0310-8789-
dd5450dbe970
src/slave/kprop.c
patch
|
blob
|
history
diff --git
a/src/slave/kprop.c
b/src/slave/kprop.c
index 05351df42d4a9340b3ca5083db2b151f87f983d9..cf9a18c1cc7a82dddfa68c6cee8cacd4ce1db01f 100644
(file)
--- a/
src/slave/kprop.c
+++ b/
src/slave/kprop.c
@@
-119,7
+119,7
@@
void PRS(argv)
while (word = *argv++) {
if (*word == '-') {
word++;
- while (
ch = *word++
) {
+ while (
word && (ch = *word++)
) {
switch(ch){
case 'r':
if (*word)