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
1136f9e3
...
1136f9e380f2f66a21fd6388cffc6ef41281cd4e
authored
2002-12-10 15:23:52 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_scan_body): Bugfix. Add null terminator to the string read.
1 parent
af294b27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
imap4d/search.c
imap4d/search.c
View file @
1136f9e
...
...
@@ -723,6 +723,7 @@ _scan_body (struct parsebuf *pb, char *text)
&&
stream_read
(
stream
,
buffer
,
sizeof
(
buffer
)
-
1
,
offset
,
&
n
)
==
0
&&
n
>
0
)
{
buffer
[
n
]
=
0
;
offset
+=
n
;
rc
=
util_strcasestr
(
buffer
,
text
)
!=
NULL
;
}
...
...
Please
register
or
sign in
to post a comment