Projects / cgic


cgic is an ANSI C-language library for the creation of CGI-based World Wide Web applications. cgic performs the following tasks: It parses form data, with browser correction, Transparently accepts both GET and POST form data, Handles line breaks in form fields in a consistent manner, Provides string, integer, floating-point, and single/multiple-choice functions to retrieve form data, provides bounds checking for numeric fields, loads CGI environment variables into C strings which are always non-null, and provides a way to capture CGI situations for replay in a debugging environment.


Recent releases

  •  16 Apr 2003 00:35

    Release Notes: In CGIC 2.0 and 2.01, if the HTTP_COOKIE environment variable was exactly equal to the name of a cookie requested with cgiCookieString, with no value or equal sign or other characters present, a buffer overrun could take place.

    •  13 Feb 2002 13:50

      Release Notes: A problem with cgiFormString and related functions has been corrected. These functions were previously incorrectly returning cgiFormTruncated in cases in which the returned string fit the buffer exactly.

      •  21 Feb 1999 21:26

        Release Notes: A potentially significant buffer overflow problem has been corrected. The function cgiSaferSystem() has been removed entirely.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.