tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 52627] Segmentation fault in org.apache.tomcat.jni.File.infoGet() native method
Date Fri, 24 May 2013 20:56:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52627

--- Comment #4 from Christopher Schultz <chris@christopherschultz.net> ---
Can you give some more information about the crash? For example, build tcnative
with debugging symbols and then post the JVM crash dump?

I don't see why zeroing-out a apr_finfo_t structure before calling
apr_file_info_get would fix anything, since that structure is only used to
deposit information, not to read information.

I think the real problem is that the (tcnative) fill_finfo function isn't
sensitive to which fields in the apr_finfo_t structure are actually valid, so
it does stupid things like trying to create UTF strings out of potentially
invalid (char *) values.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message