tNULL pointer dereference bug fixed - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f352a9079a7907f5d1aed2befaa77dc2eeb4b5a5
 (DIR) parent bead22d4de1db3ef56c7be794b8f2bc5d6d1af3a
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Tue,  6 Nov 2001 22:53:07 +0000
       
       NULL pointer dereference bug fixed
       
       
       Diffstat:
         M src/error.c                         |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/error.c b/src/error.c
       t@@ -168,6 +168,6 @@ void g_string_assign_error(GString *str,LastError *error) {
        }
        
        void g_string_append_error(GString *str,LastError *error) {
       -  if (!error->type) return;
       +  if (!error || !error->type) return;
          (*error->type->AppendErrorString)(str,error);
        }