mail/bogofilter*: fix unaligned access on some databases This was found with the undefined behavior sanitizer, and affects the generic code (independent of the concrete database back-end in use) so we need to bump all PORTREVISIONS. The bug was that internal code was casting a void * to a uint32_t * without ensuring alignment of the source value. Let's use memcpy to a statically-sized array and let the optimizer handle it for us. Adds files/patch-src_datastore.c. PR: 297024 MFH: 2026Q3edee11f3ad
Port details
mail/bogofilter-lmdb11.3.0.r1_1
Fast, teachable, learning spam detector (LMDB 1.0 database)
- Maintainer
- mandree@FreeBSD.org
- Packages
- bogofilter-lmdb1 1.3.0.r1_1
- Upstream
- up to date
- CPE
bogofilter_project:bogofilterfrom the port- WWW
- https://bogofilter.sourceforge.io/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (2)
mail/bogofilter*: Prepare LMDB 1.0 transition Here's what we do now: - mail/bogofilter currently depends on lmdb0, a 0.9.X port, so it continues to work as before - add a new mail/bogofilter-lmdb1 port that depends on lmdb, the 1.0 version of the LMDB database. - add the upstream patch for bogofilter 1.3.0.rc1 that I made and that delphij@ prepared for integration into the ports tree - thanks! Here's the plan for end of 2026: - AT THE SAME TIME: - upgrade mail/bogofilter to depend on LMDB 1.0 - portrm mail/bogofilter-lmdb1 - add a MOVED entry to redirect from bogofilter-lmdb1 to bogofilter. While here, clean up and rearrange the Makefiles. PR: 296519 Reviewed by: arrowd Pull Request: https://github.com/freebsd/freebsd-ports/pull/5519d0203aad0