Revision: 52926
http://brlcad.svn.sourceforge.net/brlcad/?rev=52926&view=rev
Author: brlcad
Date: 2012-10-09 21:54:38 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
objtab just maybe maybe might be null, so don't try to index into it if it is.
Modified Paths:
--------------
brlcad/trunk/src/rt/do.c
Modified: brlcad/trunk/src/rt/do.c
===================================================================
--- brlcad/trunk/src/rt/do.c 2012-10-09 21:50:35 UTC (rev 52925)
+++ brlcad/trunk/src/rt/do.c 2012-10-09 21:54:38 UTC (rev 52926)
@@ -517,8 +517,9 @@
RT_CK_RTI(rtip);
rt_prep_timer();
- if (rt_gettrees(rtip, nobjs, (const char **)objtab, npsw) < 0)
- bu_log("rt_gettrees(%s) FAILED\n", objtab[0]);
+ if (rt_gettrees(rtip, nobjs, (const char **)objtab, npsw) < 0) {
+ bu_log("rt_gettrees(%s) FAILED\n", (objtab && objtab[0]) ? objtab[0] :
"ERROR");
+ }
(void)rt_get_timer(×, NULL);
if (rt_verbosity & VERBOSE_STATS)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits