Bug 134964 - update mail/p5-Mail-DKIM to 0.35. Fixes DOS condition in .033
Summary: update mail/p5-Mail-DKIM to 0.35. Fixes DOS condition in .033
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: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 16:00 UTC by Michael Scheidell
Modified: 2009-05-31 00:30 UTC (History)
0 users

See Also:


Attachments
file.diff (933 bytes, patch)
2009-05-26 16:00 UTC, Michael Scheidell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2009-05-26 16:00:02 UTC
Version 0.35 fixes a DOS (runaway memory usage) condition reported on amavisd-new users list, with patch provide by Mark Martinec, author of amavisd-new

From ChangeLog
2009-05-22: Jason Long <jlong@messiah.edu>
 * t/signer.t: add a test-case of a message with 10000's of blank
   lines; this seems to DoS the canonicalization routines
 * lib/Mail/DKIM/Canonicalization/{simple,relaxed,dk_simple}.pm:
   fix for bug reported on amavis-user list, patch provided by
   Mark Martinec. Thanks!

I am the port maintainer for p5-Mail-SpamAssassin and am going to make 0.35 a minimum dependency for that package as soon as this gets posted.

Fix: upgrade to Mail-DKIM 0.35.
simple patches to Makefile and distfile.
no new dependencies or patches
How-To-Repeat: see amavisd-new users list for sample.

from mailing list:

> So the process which tries to sign this message crashes after
> 11 minutes, running out of memory. It happens while Perl is
> evaluating the following regexp:
> 
>   s/((?:\015\012){2,})\z/\015\012/

Ugh!
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-26 16:00:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

gabor@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-26 16:00:14 UTC
Maintainer of mail/p5-Mail-DKIM,

Please note that PR ports/134964 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/134964

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-26 16:00:18 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Yoshisato Yanagisawa 2009-05-27 13:31:06 UTC
I have approved this PR.
Thank you for your contribution!
Comment 5 Yoshisato YANAGISAWA 2009-05-28 15:57:54 UTC
I am sorry to reply the PR from a wrong email address.
I have confirmed and approved this PR.

Thank you for your contribution.
Comment 6 dfilter service freebsd_committer freebsd_triage 2009-05-31 00:22:44 UTC
gabor       2009-05-30 23:22:30 UTC

  FreeBSD ports repository

  Modified files:
    mail/p5-Mail-DKIM    Makefile distinfo pkg-plist 
  Log:
  - Update to 0.35
  
  PR:             ports/134964
  Submitted by:   Michael Scheidell <scheidell@secnap.net>
  Approved by:    Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> (maintainer)
  
  Revision  Changes    Path
  1.18      +3 -1      ports/mail/p5-Mail-DKIM/Makefile
  1.15      +3 -3      ports/mail/p5-Mail-DKIM/distinfo
  1.6       +3 -1      ports/mail/p5-Mail-DKIM/pkg-plist
_______________________________________________
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"
Comment 7 Gabor Kovesdan freebsd_committer freebsd_triage 2009-05-31 00:29:31 UTC
State Changed
From-To: feedback->closed

Committed with changes, thanks. (pkg-plist was wrong)