Bug 57686 - wrong handling of file not found condition
Summary: wrong handling of file not found condition
Status: RESOLVED FIXED
Alias: None
Product: Rivet
Classification: Unclassified
Component: mod_rivet (show other bugs)
Version: 2.2.1
Hardware: PC Linux
: P2 normal
Target Milestone: mod_rivet
Assignee: Apache Rivet Mailing list account
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 23:50 UTC by Massimo Manghi
Modified: 2015-12-15 14:46 UTC (History)
1 user (show)



Attachments
TclWeb_PrintHeaders is called only when we actually have data to print (846 bytes, patch)
2015-03-10 23:50 UTC, Massimo Manghi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Manghi 2015-03-10 23:50:44 UTC
Created attachment 32556 [details]
TclWeb_PrintHeaders is called only when we actually have data to print

Rivet 2.2.1 may improperly handle file not found conditions and it ends up trying to access uninitialized fields in the TclWebRequest structure thus causing a segmentation fault. This bug suggests that an appropriate test has to be written
Comment 1 Massimo Manghi 2015-12-15 14:46:29 UTC
resolved in 2.2.2