#12480: NTL segfault on OS X 10.7
---------------------------------------------+------------------------------
   Reporter:  jdemeyer                       |          Owner:  was       
       Type:  defect                         |         Status:  needs_work
   Priority:  critical                       |      Milestone:  sage-5.0  
  Component:  interfaces                     |       Keywords:            
Work_issues:                                 |       Upstream:  N/A       
   Reviewer:  William Stein, Jeroen Demeyer  |         Author:  David Roe 
     Merged:                                 |   Dependencies:            
---------------------------------------------+------------------------------

Comment(by roed):

 Sorry: I wasn't getting trac notifications on this ticket for some reason.

 The changes look good, except the removal of the three checks for n < 0 in
 `pow_mpz_t_tmp` and `pow_ZZ_tmp` where a ValueError is raised.  While I
 understand that Cython will ignore those errors, I think the right option
 is to open another ticket and modify what is done, rather than just
 removing the checks.  With these changes it's easier for these functions
 to segfault on incorrect input.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12480#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to