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

 
 

bug #49120: cgicc should not call exit()

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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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:
   
   
Comment:
   

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.3