projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367d309
)
Fix off-by-one error in glob call.
author
Paul Nasrat
<pnasrat@redhat.com>
Mon, 16 Apr 2007 12:20:30 +0000
(13:20 +0100)
committer
Paul Nasrat
<pnasrat@redhat.com>
Mon, 16 Apr 2007 12:20:30 +0000
(13:20 +0100)
Fix from OpenSuSE
rpmio/rpmrpc.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmrpc.c
b/rpmio/rpmrpc.c
index
8156a69
..
ee5f9e8
100644
(file)
--- a/
rpmio/rpmrpc.c
+++ b/
rpmio/rpmrpc.c
@@
-1415,7
+1415,7
@@
int Glob_pattern_p (const char * pattern, int quote)
case '*':
return (1);
case '\\':
- if (quote &&
p[1]
!= '\0')
+ if (quote &&
*p
!= '\0')
p++;
continue;