Revision: 48404
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48404&view=rev
Author:   starseeker
Date:     2012-01-11 17:12:06 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Check for null svkey_fp - CID 263

Modified Paths:
--------------
    brlcad/trunk/src/lgt/do_options.c

Modified: brlcad/trunk/src/lgt/do_options.c
===================================================================
--- brlcad/trunk/src/lgt/do_options.c   2012-01-11 17:05:26 UTC (rev 48403)
+++ brlcad/trunk/src/lgt/do_options.c   2012-01-11 17:12:06 UTC (rev 48404)
@@ -2713,8 +2713,10 @@
                    save_view_flag = FALSE;
                    return      1;
                }
-    if (! read_Frame(svkey_fp))
-       return  -1;
+    if (svkey_fp == NULL)
+       return -1;
+    if (!read_Frame(svkey_fp))
+       return -1;
 
     /* Compute view-to-model rotation matrix. */
     MAT_IDN(to_eye);

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to