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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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 File(s):
   
   
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
  • -unavailable- added by tpircher (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Jun 2017 07:57:24 PM UTCsebdiazOpen/ClosedOpen=>Closed
    Fri 23 Jun 2017 07:56:20 PM UTCsebdiazStatusIn Progress=>Fixed
    Thu 22 Jun 2017 08:12:29 PM UTCsebdiazStatusNone=>In Progress
      Assigned toNone=>sebdiaz
    Wed 21 Jun 2017 07:40:37 PM UTCtpircherAttached File-=>Added cgicc-49120.diff, #41019

    Back to the top


    Powered by Savane 3.1-cleanup1