Subject: Re: bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack allocation.

From: Stefan Monnier <[email-masked]>
Date: Fri, 05 Sep 2014 13:22:21 -0400

>> Lisp_Object result = unbind_to (count, Fsome_func ());
>> can always be written
>> Lisp_Object result = Fsome_func ();
>> unbind_to (count, Qnil);
> Only if the result is already protected, since unbind_to can GC.

Indeed, if you need GCPRO, then it's not necessarily true any more.

        Stefan