artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff6084
)
missing deref on char check. from David Binderman
author
tedu
<tedu@openbsd.org>
Mon, 19 Oct 2015 17:24:07 +0000
(17:24 +0000)
committer
tedu
<tedu@openbsd.org>
Mon, 19 Oct 2015 17:24:07 +0000
(17:24 +0000)
lib/libfuse/fuse_opt.c
patch
|
blob
|
history
diff --git
a/lib/libfuse/fuse_opt.c
b/lib/libfuse/fuse_opt.c
index
300900b
..
da7de59
100644
(file)
--- a/
lib/libfuse/fuse_opt.c
+++ b/
lib/libfuse/fuse_opt.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fuse_opt.c,v 1.1
4 2015/08/24 15:31:36 mpi
Exp $ */
+/* $OpenBSD: fuse_opt.c,v 1.1
5 2015/10/19 17:24:07 tedu
Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
* Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org>
@@
-77,7
+77,7
@@
match_opt(const char *templ, const char *opt)
t++;
if (*t == '-')
t++;
- if (*t == 'o' || t == '\0')
+ if (*t == 'o' ||
*
t == '\0')
return (0);
}