Bug 168448 - Fix comms/nec2c for large allocations
Summary: Fix comms/nec2c for large allocations
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: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 03:10 UTC by Daniel O'Connor
Modified: 2012-06-05 20:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1018 bytes, patch)
2012-05-30 03:10 UTC, Daniel O'Connor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel O'Connor 2012-05-30 03:10:02 UTC
mem_alloc / mem_realloc take ints which overflow on large simulations.

Fix: Add attached patch

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-30 10:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->db

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-06-05 20:23:52 UTC
db          2012-06-05 19:23:38 UTC

  FreeBSD ports repository

  Modified files:
    comms/nec2c          Makefile 
  Added files:
    comms/nec2c/files    patch-misc.c patch-nec2c.h 
  Log:
  - Fix comms/nec2c for large allocations
  
  PR:             ports/168448
  Submitted by:   doconnor@gsoft.com.au
  
  Revision  Changes    Path
  1.8       +1 -0      ports/comms/nec2c/Makefile
  1.1       +20 -0     ports/comms/nec2c/files/patch-misc.c (new)
  1.1       +13 -0     ports/comms/nec2c/files/patch-nec2c.h (new)
_______________________________________________
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 Diane Bruce freebsd_committer freebsd_triage 2012-06-05 20:24:30 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!