Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
1f0d53ca86a9bbdac81dd23459474110f973f163...30cf70e9542d8ef446a50f46e20dcf887acc7039
Commits (1)
Uh, increment the pointer in globi()
· 30cf70e9
Rob Swindell
authored
Mar 25, 2022
Fixes crash reported in
#381
.
30cf70e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/xpdev/dirwrap.c
src/xpdev/dirwrap.c
+1
-0
No files found.
src/xpdev/dirwrap.c
View file @
30cf70e9
...
...
@@ -321,6 +321,7 @@ int globi(const char *p, int flags,
len
+=
sprintf
(
pattern
+
len
,
"[%c%c]"
,
toupper
(
*
p
),
tolower
(
*
p
));
else
pattern
[
len
++
]
=
*
p
;
p
++
;
}
}
pattern
[
len
]
=
'\0'
;
...
...