mturk       2002/11/20 08:40:10

  Modified:    jk/native2/jni jk_jni_aprImpl.c
  Log:
  Revert the usage of post msg.
  Use the suplied reply, and fix the 4 byte out-of-bounds exception
  
  Revision  Changes    Path
  1.43      +1 -1      jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c
  
  Index: jk_jni_aprImpl.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- jk_jni_aprImpl.c  20 Nov 2002 15:03:18 -0000      1.42
  +++ jk_jni_aprImpl.c  20 Nov 2002 16:40:10 -0000      1.43
  @@ -502,7 +502,7 @@
               /*              ep->reply->pos, ep->reply->len , ep->reply->buf ); */
               ep->reply->end( env, ep->reply );
   
  -            (*jniEnv)->SetByteArrayRegion( jniEnv, data, 0, ep->post->len + 4 , 
(jbyte *)ep->post->buf );
  +            (*jniEnv)->SetByteArrayRegion( jniEnv, data, 0, ep->reply->len, (jbyte 
*)ep->reply->buf );
               rc=JK_OK;
           }
       } 
  
  
  

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

Reply via email to