Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] (PR#7342) cm patch: heap-allocate the combinations
Home

[Freeciv-Dev] (PR#7342) cm patch: heap-allocate the combinations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7342) cm patch: heap-allocate the combinations
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Apr 2004 17:25:17 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7342 >

> [i-freeciv-lists@xxxxxxxxxxxxx - Sun Feb 01 03:18:38 2004]:
> We should add a check into fc_(re)malloc. A malloc over 20mb should be
> denied.

Here's a patch to do just that, and I've removed MAX_COMBINATIONS.

Attachment: 20mb-max.patch
Description: Binary data

Attachment: cm.heap-allocate-combos.patch
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7342) cm patch: heap-allocate the combinations, Benoit Hudson <=