tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52627] Segmentation fault in org.apache.tomcat.jni.File.infoGet() native method
Date Wed, 08 Feb 2012 22:46:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52627

--- Comment #3 from Ilya Maykov <ivmaykov@gmail.com> 2012-02-08 22:46:04 UTC ---
Created attachment 28292
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28292
Proposed patch

Here is my proposed bugfix, which uses memset() to zero-out the stack-allocated
apr_finfo_t structure before using it. This patch makes the repro case
(attached earlier) stop crashing.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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