Bug 155476 - Patch to ports/math/p5-Math-Geometry-Planar
Summary: Patch to ports/math/p5-Math-Geometry-Planar
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: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 16:20 UTC by Mark Henning
Modified: 2011-03-12 00:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.24 KB, patch)
2011-03-11 16:20 UTC, Mark Henning
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Henning 2011-03-11 16:20:09 UTC
There is buffer overrun error in the Math::Geometry::Planar perl module that causes intermittent segfaults when using the GPC library. This is both a stability and a security issue: Passing a cleverly crafted polygon to the library may allow a malicious user to execute arbitrary code.

The latest version of Math::Geometry::Planar (1.18) contains a fix for this.

Attached is a patch to the p5-Math-Geometry-Planar ports module.

Fix: Update to latest version of Math::Geometry::Planar (1.18), which contains the fix.

Patch to ports module p5-Math-Geometry-Planar attached. 

Patch attached with submission follows:
How-To-Repeat: thrash Math::Geometry::Planar::convert2gpc() with numerous polygons of multiple contours.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-03-11 16:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-03-12 00:38:44 UTC
wen         2011-03-12 00:38:30 UTC

  FreeBSD ports repository

  Modified files:
    math/p5-Math-Geometry-Planar Makefile distinfo 
  Log:
  - Update to 1.18
  ChangeLog: http://cpansearch.perl.org/src/DVDPOL/Math-Geometry-Planar-1.18-withoutworldwriteables/Changes
  
  PR:             ports/155476
  Submitted by:   Mark Henning <henning.m@emsglobaltracking.com>
  
  Revision  Changes    Path
  1.6       +2 -1      ports/math/p5-Math-Geometry-Planar/Makefile
  1.3       +2 -3      ports/math/p5-Math-Geometry-Planar/distinfo
_______________________________________________
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 Wen Heping freebsd_committer freebsd_triage 2011-03-12 00:40:18 UTC
State Changed
From-To: open->closed

Committed. Thanks!