Bug 6876 - Add error handling to parser for submitted error data
Summary: Add error handling to parser for submitted error data
Status: VERIFIED FIXED
Alias: None
Product: Error Reporting tool
Classification: Yocto Project Subprojects
Component: Error Reporting Tool (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M2
Assignee: Michael Wood
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks: 6523
  Show dependency tree
 
Reported: 2014-10-23 14:02 UTC by Michael Wood
Modified: 2015-02-09 09:51 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wood 2014-10-23 14:02:40 UTC
There is no error handling of the parsing of submitted data which could cause problems.
We also don't want to entirely rely on the configuration of nginx / apache etc front end http server to handle all the issues like rate limiting and payload size handling.
Comment 1 Michael Wood 2015-01-23 19:44:48 UTC
commit 9453ced5823c945477010a4e6f7394997f2d2301

    Parser: Add basic catching of exceptions from invalid data
    
    When we catch these exceptions make sure we send back a useful response
    and a http 500 status code
Comment 2 Mihail Stanciu 2015-02-09 09:51:37 UTC
Verified.