hgomez      2004/03/17 09:03:48

  Modified:    jk/native2/common jk_shm.c
  Log:
  Security, init slot to NULL
  
  Revision  Changes    Path
  1.46      +1 -1      jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
  
  Index: jk_shm.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- jk_shm.c  17 Mar 2004 17:02:38 -0000      1.45
  +++ jk_shm.c  17 Mar 2004 17:03:48 -0000      1.46
  @@ -236,7 +236,7 @@
       /* For now all slots are equal size
        */
       int i;
  -    jk_shm_slot_t *slot;
  +    jk_shm_slot_t *slot = NULL;
   
       if (shm->head != NULL) { 
           for (i = 0; i < shm->head->lastSlot; i++) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to