Bug 52081 - segfault if mbox files have unexpected names
Summary: segfault if mbox files have unexpected names
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2011-10-24 22:08 UTC by Stefan Fritsch
Modified: 2011-10-24 22:08 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Fritsch 2011-10-24 22:08:57 UTC
Mod_mbox contains code like

mbox_months[atoi(apr_pstrndup(r->pool, fi[i].filename + 4, 2)) - 1][0]

that causes a segfault if the mbox files are not named YYYYMM.mbox.