Bug 146618 - devel/cgilib: 8.0-RELEASE cgilib-0.6 segfault
Summary: devel/cgilib: 8.0-RELEASE cgilib-0.6 segfault
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-15 17:00 UTC by Byron Young
Modified: 2010-05-19 15:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1005 bytes, patch)
2010-05-15 17:00 UTC, Byron Young
no flags Details | Diff
file.diff (363 bytes, patch)
2010-05-15 17:00 UTC, Byron Young
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Byron Young 2010-05-15 17:00:16 UTC
Using a HTML 4.0 <FORM> element <SELECT> element with attribute MULTIPLE
results in segfault. A patch combining port 8.0-RELEASE patch and fix is
attached.

How-To-Repeat: Create a binary linked with cgilib-0.6 and place into cgi-bin
(apache22/mod_cgi) directory.  Multiple selections from a <SELECT> element
with attribute MULTIPLE will cause a segfault after submit.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-05-16 03:38:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-19 15:43:03 UTC
demon       2010-05-19 14:42:52 UTC

  FreeBSD ports repository

  Modified files:
    devel/cgilib         Makefile distinfo 
    devel/cgilib/files   patch-cgi.c 
  Log:
  Update to 0.7;
  Fix segfault when using a HTML 4.0 <FORM>'s element <SELECT>
  with attribute MULTIPLE.
  
  PR:             146618
  Submitted by:   Byron Young <bkyoung74q9@yahoo.com>
  
  Revision  Changes    Path
  1.5       +1 -1      ports/devel/cgilib/Makefile
  1.4       +3 -3      ports/devel/cgilib/distinfo
  1.3       +11 -33    ports/devel/cgilib/files/patch-cgi.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dmitry Sivachenko freebsd_committer freebsd_triage 2010-05-19 15:43:19 UTC
State Changed
From-To: open->closed

I committed your patch and updated cgilib to version 0.7. 

Thanks.