Created attachment 147104 [details] Update misc/mbuffer to 2014.03.10 The attached patch updates misc/mbuffer to 2014.03.10. Port changes: - Update the pkg-descr - Fix version display (also reported upstream) Upstream changes according to the ChangeLog: 20140310: - added memory advise for buffer memory - compatibility fix for Solars st driver - prevent buffer overflow attack via defaults file - ignore defaults file from other users - updated documentation for use with cron - minor bugfixes 20140126: - new feature: set option defaults in ~/.mbuffer.rc - enhancement: write status to the log file - enhancement: added option to suppress status logging - fix: formatting fix for summary message One of those "minor bugfixes" prevents a reproducible core dump on 11.0-CURRENT: fk@r500 ~ $mbuffer Assertion failed: (err == 0), function main, file mbuffer.c, line 2097. Abort trap (core dumped) Redports results: https://redports.org/buildarchive/20140908110007-01808/
Over to maintainer.
Any chance of getting the patch committed to the ports tree? I had to apply this patch to 10.1-RC1 to avoid core dump when using using mbuffer like: mbuffer -s 128m -m 1G -4 -I 9090 | zfs receive -duvF disk00/firewall Thanks!
I'll take it (maintainer timeout).
A commit references this bug: Author: mva Date: Tue Oct 7 17:57:28 UTC 2014 New revision: 370384 URL: https://svnweb.freebsd.org/changeset/ports/370384 Log: - Update to version 2014.03.10 - Fix version display - Minor updates to pkg-descr, incoluding a WWW: whitespace fix Notable changes: 0140310: - added memory advise for buffer memory - compatibility fix for Solars st driver - prevent buffer overflow attack via defaults file - ignore defaults file from other users - updated documentation for use with cron - minor bugfixes 20140126: - new feature: set option defaults in ~/.mbuffer.rc - enhancement: write status to the log file - enhancement: added option to suppress status logging - fix: formatting fix for summary message PR: 193480 Submitted by: fk@fabiankeil.de Approved by: maintainer timeout (mm@) Changes: head/misc/mbuffer/Makefile head/misc/mbuffer/distinfo head/misc/mbuffer/pkg-descr
Committed in ports r370384. Thanks!