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
Commits
30cf70e9
Commit
30cf70e9
authored
Mar 25, 2022
by
Rob Swindell
💬
Browse files
Uh, increment the pointer in globi()
Fixes crash reported in
#381
.
parent
1f0d53ca
Pipeline
#2934
passed with stage
in 9 minutes and 36 seconds
Changes
1
Pipelines
3
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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment