Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 182192
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jochen Schlick <josch09@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182192 depends on: Show dependency tree
Bug 182192 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-16 01:19 0000
> vadddomain blablub passwd
Program received signal SIGSEGV, Segmentation fault

######################
The problem is in vpopmail.c which assumes that every domain contains at least
of two parts !! This is not always true especially for virtual test domains. 
Here the troublemaker lines (vpopmail.c in function extract_domain(), something
around line 1670):

...
  //  Juggle the order of stuff in the domain name

  //  Save the last two terms
  t = parts[--i];
  u = parts[--i];
...

If the domain name contains no dots, the vakue of i is 1. Therefore t =
parts[0] und u = parts[-1] !!!!!!!





Reproducible: Always

------- Comment #1 From Jochen Schlick 2007-06-16 09:50:31 0000 -------
this issue seems to be fixed in the current stable version (5.4.17) after
taking a look at the code.
I think it's time for version 5.4.17 


------- Comment #2 From Benedikt Böhm 2007-07-29 23:03:13 0000 -------
5.4.19 in portage, please test

------- Comment #3 From Jochen Schlick 2007-07-31 00:21:16 0000 -------
-compiled fine
-but doesnt't run at the moment due to some mysql database upgrade issues
(5.4.x ->5.4.19)

------- Comment #4 From Jochen Schlick 2007-07-31 17:54:15 0000 -------
I tried to upgrade the 5.4.17 vpopmail mysql database but with the info
provided in the UPGRADE file of 5.4.19 it doesn't work. After I fixed the
problem with the wrong names domain -> pw_domain vadddomain/vdeldomain still
produce errors. 
With this result I dropped then the whole vpopmail database and let it create
from the new 5.4.19 release. vadddomain/vadduser/... have no longer problems
and everything works now. The only annoying thing was thtat I had re-add my
domains and users.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug