[pecl-mail-mailparse] master: changelog
| From: | Remi Collet | Date: | Wed, 24 Jun 2026 08:04:54 +0000 |
| Subject: | [pecl-mail-mailparse] master: changelog | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-28610@lists.php.net to get a copy of this message | ||
Author: Remi Collet (remicollet)
Date: 2026-06-24T10:04:43+02:00
Commit: https://github.com/php/pecl-mail-mailparse/commit/b24d3a4436b060886ac092b5c0390b8c2125c9d2
Raw diff: https://github.com/php/pecl-mail-mailparse/commit/b24d3a4436b060886ac092b5c0390b8c2125c9d2.diff
changelog
Changed paths:
M CHANGELOG.md
M package.xml
M php_mailparse_rfc822.c
Diff:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6dc34de..9d33473 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
- Enforce MAXLEVELS (20) cap in
alloc_new_child_part()
- Various code cleanups and optimizations
+- Fix out-of-bounds read in RFC822 group/route-addr address parsing
# Version 3.2.0 - 2026-04-09
diff --git a/package.xml b/package.xml
index 7ad8b76..b9d5f74 100644
--- a/package.xml
+++ b/package.xml
@@ -49,6 +49,7 @@ It can deal with rfc822 and rfc2045 (MIME) compliant messages.
<notes>
- Enforce MAXLEVELS (20) cap in alloc_new_child_part()
- Various code cleanups and optimizations
+- Fix out-of-bounds read in RFC822 group/route-addr address parsing
</notes>
<contents>
<dir name="/">
@@ -103,6 +104,7 @@ It can deal with rfc822 and rfc2045 (MIME) compliant messages.
<file name="mime_nesting_depth.phpt" role="test" />
<file name="parse_test_messages.phpt" role="test" />
<file name="rfc2231_plain_after_encoded.phpt" role="test" />
+ <file name="rfc822_group_routeaddr_oob.phpt" role="test" />
</dir> <!-- //tests -->
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
diff --git a/php_mailparse_rfc822.c b/php_mailparse_rfc822.c
index 357538d..397fe89 100644
--- a/php_mailparse_rfc822.c
+++ b/php_mailparse_rfc822.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 3.1 on Thu Jun 18 08:39:03 2026 */
+/* Generated by re2c 3.1 on Wed Jun 24 10:02:15 2026 */
#line 1 "/home/php/git/mailparse/php_mailparse_rfc822.re"
/*
+----------------------------------------------------------------------+