<< Back to previous view

[CONTRIB-76] (pr x & more) makes a self-call, which can lead to stack overflow Created: 17/Apr/10  Updated: 24/Aug/10  Resolved: 24/Aug/10

Status: Closed
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: None


 Description   

When 'pr', or any related functions are called with a sequence of arguments, they can cause stack overflow.

Eg:

(apply pr (range 5000))



 Comments   
Comment by Assembla Importer [ 24/Aug/10 4:33 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/76
Attachments:
0001-fixed-stack-consumpton-in-pr-more.patch - https://www.assembla.com/spaces/clojure/documents/cXM85ssJqr37KVeJe5d-aX/download/cXM85ssJqr37KVeJe5d-aX

Comment by Assembla Importer [ 24/Aug/10 4:33 PM ]

djpowell said: Oops - posted to contrib's assemba space rather than clojure's - will repost to clojure's space...

Generated at Mon Sep 01 06:19:56 CDT 2014 using JIRA 4.4#649-r158309.