Bug 108657 - [PATCH] mail/spamd: core dump on spamd-setup with "-t" key
Summary: [PATCH] mail/spamd: core dump on spamd-setup with "-t" key
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-01 12:30 UTC by Oleksii Samorukov
Modified: 2007-03-25 18:30 UTC (History)
1 user (show)

See Also:


Attachments
spamd-3.7_2.patch (503 bytes, patch)
2007-02-01 12:30 UTC, Oleksii Samorukov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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"