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

Commit8305600

Browse files
author
Felipe Zimmerle
committed
Trims long `apache version' in the status call
As reported atowasp-modsecurity#714 status calls with long `apache version' name was broken.DNS queries cannot be so long. This field is now limited to 25 characterswhich is a valid size when encoded into base32
1 parentcee205b commit8305600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/msc_status_engine.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ int DSOLOCAL msc_beacon_string (char *beacon_string, int beacon_string_max_len)
376376
}
377377

378378
apr_snprintf(beacon_string,beacon_string_max_len,
379-
"%.25s,%s,%s/%s,%s/%s,%s,%s,%s",
379+
"%.25s,%.25s,%s/%s,%s/%s,%s,%s,%s",
380380
modsec,apache,apr,apr_loaded,pcre,pcre_loaded,lua,libxml,id);
381381

382382
return_length:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp