Revision: 56921
          http://sourceforge.net/p/brlcad/code/56921
Author:   tbrowder2
Date:     2013-08-17 23:42:02 +0000 (Sat, 17 Aug 2013)
Log Message:
-----------
bump up size of array trying to ameliorate gcc 4.8.1 warning of array overflow

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c        2013-08-17 
23:06:09 UTC (rev 56920)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c        2013-08-17 
23:42:02 UTC (rev 56921)
@@ -289,7 +289,9 @@
     register int i;
     struct face_g_snurb *region;
     struct knot_vector new_knots;
-    fastf_t knot_vec[40];
+    /* FIXME: gcc 4.8.1 report array overrun with size 40, temp  change to 400 
*/
+    /* fastf_t knot_vec[40]; */
+    fastf_t knot_vec[400];
 
     /* Build the new knot vector in the local array */
     /* XXX fill in magic number here? */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to