tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Recent tcnative null-dereference with 8.0.0-RC3 and 7.0.45 [tcnative-1.dll+0x7e23]
Date Tue, 01 Oct 2013 04:53:36 GMT
On 09/30/2013 08:50 PM, Christopher Schultz wrote:
> Mladen,
>
> Unless there is significant objection,

Yes there is.
The transition from  Java to JNI costs 10 times then
then a simple 'if (socket == OL)' in java

> I'd like to add such NULL checks
> to limit JVM crashes in cases where the Java code isn't absolutely
> perfect (with sincere apologies to all who manage the socket-management
> code in Tomcat).
>

-1. You are just hiding the reason for crash.


Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message