Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5c2690

Browse files
author
Felipe Zimmerle
committed
Adds origin to the paramenters that cames from JSON
That is necessary otherwise the Auditlog will try to access it generatinga segfault.
1 parent52bef20 commitc5c2690

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎apache2/msc_json.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ int json_add_argument(modsec_rec *msr, const char *value, unsigned length)
4848
*/
4949
arg->value=apr_pstrmemdup(msr->mp,value,length);
5050
arg->value_len=length;
51+
arg->origin="JSON";
5152

5253
if (msr->txcfg->debuglog_level >=9) {
5354
msr_log(msr,9,"Adding JSON argument '%s' with value '%s'",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp