bugcgicc - Bugs: bug #49120, cgicc should not call exit()


bug #49120: cgicc should not call exit()

Submitter:  Thomas Pircher <tpircher>
Submitted:  Sun 18 Sep 2016 09:44:50 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  sebdiaz
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Sun 18 Sep 2016 09:44:50 AM UTC, original submission:  

The CgiEnvironment calls exit() if the length of the submitted data exceeds CGICC_MAX_CONTENTLENGTH (if it exists).

A shared library should not call exit, and should give the calling program a chance to act on the error instead of being terminated.

Maybe throwing an exception would be a better option here?

Thomas Pircher <tpircher>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #41019:  cgicc-49120.diff added by tpircher (518B - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by tpircher (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-23 sebdiaz Open/ClosedOpen Closed
    2017-06-23 sebdiaz StatusIn Progress Fixed
    2017-06-22 sebdiaz StatusNone In Progress
        Assigned toNone sebdiaz
    2017-06-21 tpircher Attached File- Added cgicc-49120.diff, #41019

    Back to the top

    Powered by Savane 3.12