From: SourceForge.net <no...@so...> - 2008-09-27 14:22:56
|
Bugs item #2130992, was opened at 2008-09-26 22:01 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2130992&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 17. Commands I-L Group: current: 8.5.4 >Status: Closed >Resolution: Fixed Priority: 9 Private: No Submitted By: Don Porter (dgp) Assigned to: Donal K. Fellows (dkf) Summary: lrepeat lacks overflow protection Initial Comment: % llength [lrepeat 65536 {*}[lrepeat 65536 a]] Segmentation fault ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2008-09-27 15:22 Message: We perhaps ought to make the list allocator less inclined to panic() on a failed allocation of the main array, but that's a more disruptive change. (Added an arbitrary limit instead: [lrepeat] won't try to allocate more than 2GB on 32-bit machines now.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2130992&group_id=10894 |