martin      99/05/20 23:48:57

  Modified:    src/helpers dummy.c
  Log:
  Just in case anyone ever tries to execute dummy:
  it dereferenced a NULL pointer (well disguised as '\0' in place of NULL)
  
  Revision  Changes    Path
  1.6       +1 -1      apache-1.3/src/helpers/dummy.c
  
  Index: dummy.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/helpers/dummy.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- dummy.c   1998/03/17 19:42:20     1.5
  +++ dummy.c   1999/05/21 06:48:57     1.6
  @@ -6,7 +6,7 @@
   return *c;
   }
   int main(void) {
  -    const char *c = '\0';
  +    const char *c = "";
       (void)foo(c);
       return 0;
   }
  
  
  

Reply via email to