Bug 108657

Summary: [PATCH] mail/spamd: core dump on spamd-setup with "-t" key
Product: Ports & Packages Reporter: Oleksii Samorukov <samm>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: delphij
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
spamd-3.7_2.patch none

Description Oleksii Samorukov freebsd_committer freebsd_triage 2007-02-01 12:30:26 UTC
I tried to use BSD spamd with IPFW. Because i`m using table 1-2 for other 
purpose than spamd i tried to use -t key. It works just fine with spamd,
but fail with core dump on spamd-setup. While looking into the source code
i found that author forgot to add ":" after 't' getopt options, so it pass
no argument (null) into optarg and then it crash on atoi(null).

Port maintainer (delphij@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77

How-To-Repeat: run 'spamd-setup -t 2'
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-01 12:31:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer
Comment 2 Xin LI freebsd_committer freebsd_triage 2007-03-20 14:03:55 UTC
Responsible Changed
From-To: delphij->freebsd-ports

Return to pool.
Comment 3 Oleksii Samorukov freebsd_committer freebsd_triage 2007-03-20 19:55:03 UTC
Please, commit this patch.

Maintainer

-- 
Best regards,
Alex Samorukov, SAMM1-RIPE
Zend Certified PHP Engineer
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2007-03-25 18:14:37 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-03-25 18:24:12 UTC
pav         2007-03-25 17:24:07 UTC

  FreeBSD ports repository

  Modified files:
    mail/spamd/files     patch-spamd-setup 
  Log:
  - Fix crash with -t option
  
  PR:             ports/108657
  Submitted by:   Alex Samorukov <samm@os2.kiev.ua> (maintainer)
  
  Revision  Changes    Path
  1.3       +1 -1      ports/mail/spamd/files/patch-spamd-setup
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"