Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4fc3aa9c
...
4fc3aa9c3ca61073536626a47841b2062de0fade
authored
2007-02-13 10:45:12 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(argcv_get_n): Prevent coredump if command='"'
1 parent
36e44486
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
mailbox/argcv.c
mailbox/argcv.c
View file @
4fc3aa9
...
...
@@ -348,8 +348,11 @@ argcv_get_n (const char *command, int len, const char *delim, const char *cmnt,
if
((
command
[
start
]
==
'"'
||
command
[
end
]
==
'\''
)
&&
command
[
end
]
==
command
[
start
])
{
if
(
start
<
end
)
{
start
++
;
end
--
;
}
unquote
=
0
;
}
else
...
...
Please
register
or
sign in
to post a comment