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.
|Tags||Software Development Libraries|
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.
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.
Release Notes: A potentially significant buffer overflow problem has been corrected. The function cgiSaferSystem() has been removed entirely.