Bug 52081

Summary: segfault if mbox files have unexpected names
Product: Apache httpd-2 Reporter: Stefan Fritsch <sf>
Component: mod_mboxAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

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.