https://issues.apache.org/bugzilla/show_bug.cgi?id=52564

--- Comment #1 from Rainer Jung <rainer.j...@kippdata.de> 2012-01-31 10:02:06 
UTC ---
First note, that the format string argument used in those two lines was
explicitely sanitized by removing any % character just a few lines above that
precisely because we pass it along without arguments.

How to really fix this? I didn't find a way to tell gcc that this special
argument is save. Starting with gcc 4.6 we could use a pragma to switch of
format-security checking just for those lines.

Which gcc version is Debian using? Any better ideas how to correctly signal
gcc, that there is no problem here?

In fact we do not use the ability to pass along arguments to format in
jk_error_exit in the code for Apache 2.x, but we do use it in the code for 1.3
and I'm not yet ready to simply drop that feature.

Regards,

Rainer

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to