Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5746 - vpopmail 5.2.1 has a major flaw (patch inside)
Summary: vpopmail 5.2.1 has a major flaw (patch inside)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 15:19 UTC by Vadim Berezniker
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (vlad.fix,277 bytes, patch)
2002-07-29 15:21 UTC, Vadim Berezniker
Details | Diff
vpopmail diff (vpopmail.diff,2.05 KB, patch)
2002-07-29 15:23 UTC, Vadim Berezniker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Berezniker 2002-07-29 15:19:02 UTC
All the work was done by Vladimir Berezniker (vladimir@berezniker.com).
I am just entering this bug report on his behalf.

vpopmail 5.2.1 has a bug where the login string is null-terminated in the wrong
location causing login failure in a lot of cases. The problem was narrowed down
to the parse_email function and looking through the changelog for newer
(development) versions of vpopmail, you can see that this bug was already fixed
in later versions. Instead of recreating the patch, Vladimir simply backported
the parse_email function from the latest development version to 5.2.1

Now all the logins on our system work properly.

Attached is the diff for the ebuild and diff to vpopmail.
(the diff would have to be given an appropriate name and referenced properly in
the ebuil)
Comment 1 Vadim Berezniker 2002-07-29 15:21:50 UTC
Created attachment 2670 [details, diff]
ebuild patch

This patch should be applied to vpopmail-5.2.1-r2.ebuild
Comment 2 Vadim Berezniker 2002-07-29 15:23:13 UTC
Created attachment 2671 [details, diff]
vpopmail diff

This patch should be placed in the files/ directory for vpopmail package.
The ebuild should be corrected to reference whatever name this file gets.
Comment 3 Nick Hadaway 2002-07-30 08:32:57 UTC
The patch and fixed ebuild are now in portage.  Thanks for the patches!
Comment 4 Vadim Berezniker 2002-07-30 15:16:20 UTC
My brother is gonna be pissed. 
The credit was supposed to go to him :-P
Now he's gonna kill me.