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
4317f93c
...
4317f93ce5e2f8c6c146cc393b570625c0b4cf35
authored
2004-08-11 11:04:32 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed coredump on reading a single escape char.
1 parent
8f9cb3f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
mail/send.c
mail/send.c
View file @
4317f93
...
...
@@ -380,12 +380,18 @@ mail_send0 (compose_env_t * env, int save_to)
if
(
argcv_get
(
buf
+
1
,
""
,
NULL
,
&
argc
,
&
argv
)
==
0
)
{
struct
mail_command_entry
entry
;
entry
=
util_find_entry
(
mail_escape_table
,
argv
[
0
]);
if
(
entry
.
escfunc
)
status
=
(
*
entry
.
escfunc
)
(
argc
,
argv
,
env
);
if
(
argc
>
0
)
{
entry
=
util_find_entry
(
mail_escape_table
,
argv
[
0
]);
if
(
entry
.
escfunc
)
status
=
(
*
entry
.
escfunc
)
(
argc
,
argv
,
env
);
else
util_error
(
_
(
"Unknown escape %s"
),
argv
[
0
]);
}
else
util_error
(
_
(
"Un
known escape %s"
),
argv
[
0
]
);
util_error
(
_
(
"Un
finished escape"
)
);
}
else
{
...
...
Please
register
or
sign in
to post a comment