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
a581fd70
...
a581fd705a7b02496053c695b26a04b0f286aa74
authored
2007-07-16 18:15:54 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_context_read): Avoid writing past blurb end.
1 parent
533440a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
mh/mh_ctx.c
mh/mh_ctx.c
View file @
a581fd7
...
...
@@ -116,13 +116,13 @@ mh_context_read (mh_context_t *ctx)
if
(
!*
q
||
*
q
==
'#'
)
continue
;
while
(
(
*
p
=
*
q
++
)
)
p
++
;
while
(
*
q
)
*
p
++
=
*
q
++
;
}
fclose
(
fp
);
if
((
status
=
mu_header_create
(
&
ctx
->
header
,
blurb
,
p
-
blurb
,
NULL
))
!=
0
)
free
(
blurb
);
status
=
mu_header_create
(
&
ctx
->
header
,
blurb
,
p
-
blurb
,
NULL
);
free
(
blurb
);
return
status
;
}
...
...
Please
register
or
sign in
to post a comment