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
7e8481db
...
7e8481db99f782e9172da5b4ad452976358f3378
authored
2003-02-10 16:39:20 +0000
by
Frederic Gobry
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed bad buffer overflow
1 parent
c684d9c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
mailbox/rfc2047.c
mailbox/rfc2047.c
View file @
7e8481d
...
...
@@ -432,7 +432,6 @@ qp_next (rfc2047_encoder * enc)
if
(
enc
->
dst
)
{
*
(
enc
->
dst
++
)
=
'_'
;
enc
->
src
++
;
}
done
=
1
;
...
...
@@ -444,8 +443,6 @@ qp_next (rfc2047_encoder * enc)
*
(
enc
->
dst
++
)
=
'='
;
*
(
enc
->
dst
++
)
=
_hexdigit
[
*
(
enc
->
src
)
>>
4
];
*
(
enc
->
dst
++
)
=
_hexdigit
[
*
(
enc
->
src
)
&
0xF
];
enc
->
src
++
;
}
done
=
3
;
...
...
@@ -455,12 +452,14 @@ qp_next (rfc2047_encoder * enc)
{
if
(
enc
->
dst
)
{
*
(
enc
->
dst
++
)
=
*
(
enc
->
src
++
)
;
*
(
enc
->
dst
++
)
=
*
enc
->
src
;
}
done
=
1
;
}
enc
->
src
++
;
enc
->
done
+=
done
;
enc
->
todo
--
;
...
...
Please
register
or
sign in
to post a comment