mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Fix format string bugs in mod_lua. Found by gcc and pointed out by Igor Galic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -399,7 +399,8 @@ static int req_log_at(lua_State *L, int level)
|
||||
lua_getinfo(L, "Sl", &dbg);
|
||||
|
||||
msg = luaL_checkstring(L, 2);
|
||||
ap_log_rerror(dbg.source, dbg.currentline, APLOG_MODULE_INDEX, level, 0, r, msg);
|
||||
ap_log_rerror(dbg.source, dbg.currentline, APLOG_MODULE_INDEX, level, 0,
|
||||
r, "%s", msg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user