Bug 136304 - [maintainer] mail/dma - fix message corruption
Summary: [maintainer] mail/dma - fix message corruption
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 23:40 UTC by Daniel Roethlisberger
Modified: 2009-07-07 14:30 UTC (History)
1 user (show)

See Also:


Attachments
dma-lock-delivery.diff (1.58 KB, patch)
2009-07-03 23:40 UTC, Daniel Roethlisberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Roethlisberger 2009-07-03 23:40:05 UTC
Fix a race condition in the multiple recipient delivery code which
can cause message corruption, sometimes visibly, sometimes silently.

How-To-Repeat: $ dd if=/dev/urandom bs=1k count=100 | openssl base64 > /tmp/data
$ mail -s test your@email.com your_second@email.com < /tmp/data

Notice that dma(8) will bounce the message for some or all of the
recipients and/or that the received messages vastly differ in size
and content from /tmp/data.
Comment 1 Dmitry Marakasov freebsd_committer 2009-07-07 01:50:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov freebsd_committer 2009-07-07 14:29:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2009-07-07 14:29:50 UTC
amdmi3      2009-07-07 13:29:02 UTC

  FreeBSD ports repository

  Modified files:
    mail/dma             Makefile 
  Added files:
    mail/dma/files       patch-libexec_dma_dma.c 
  Log:
  - Fix a race condition in the multiple recipient delivery code which can cause message corruption
  
  PR:             136304
  Submitted by:   Daniel Roethlisberger <daniel@roe.ch> (maintainer)
  
  Revision  Changes    Path
  1.3       +1 -1      ports/mail/dma/Makefile
  1.1       +38 -0     ports/mail/dma/files/patch-libexec_dma_dma.c (new)
_______________________________________________
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"