I reported before warnings from 2.4.33, see http://apache-http-server.18135.x6.nabble.com/Build-warnings-2-4-33-Win32-td5042506.html
Advertising
For your info:We have run on Trunk ( revision 1828799) some modules the GUI code analyses: mod_cache_socache mod_ssl mod_proxy mod_md mod_remoteip mod_http2 mod_filter and mod_lua
There is popping up quite some advises above the reported regular warnings, see attachment.
Steffen
Trunk revision 1828799 mod_cache_socache c:\vc15\win32\httpd-trunk\modules\cache\mod_cache_socache.c(699): warning C6387: 'nkey' could be '0': this does not adhere to the specification for the function 'strlen'. mod_proxy c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(187): warning C6246: Local declaration of 's' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '96' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1062): warning C6246: Local declaration of 'access_status' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1020' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1069): warning C6246: Local declaration of 'access_status' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1020' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1640): warning C6340: Mismatch on sign: 'int' passed as _Param_(3) when some unsigned type is required in call to 'sscanf'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1841): warning C6246: Local declaration of 'err' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1734' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1849): warning C6246: Local declaration of 'err' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1734' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1860): warning C6246: Local declaration of 'err' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1734' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1893): warning C6246: Local declaration of 'err' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1734' of 'c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c'. c:\vc15\win32\httpd-trunk\modules\proxy\mod_proxy.c(1744): warning C28183: 'word' could be '0', and is a copy of the value found in 'f': this does not adhere to the specification for the function 'strcmp'. c:\vc15\win32\httpd-trunk\modules\proxy\proxy_util.c(2572): warning C6262: Function uses '16428' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. c:\vc15\win32\httpd-trunk\modules\proxy\proxy_util.c(2646): warning C6054: String 'code_str' might not be zero-terminated. c:\vc15\win32\httpd-trunk\modules\proxy\proxy_util.c(2870): warning C6011: Dereferencing NULL pointer 'backend_addr'. c:\vc15\win32\httpd-trunk\modules\proxy\proxy_util.c(3644): warning C6246: Local declaration of 'buf' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '3479' of 'c:\vc15\win32\httpd-trunk\modules\proxy\proxy_util.c'. mod_remoteIP c:\vc15\win32\httpd-trunk\modules\metadata\mod_remoteip.c(707): warning C6011: Dereferencing NULL pointer 'req'. mod_ssl c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_init.c(400): warning C6011: Dereferencing NULL pointer 'sc->server'. c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_init.c(1233): warning C6244: Local declaration of 'dhparams' hides previous declaration at line '108' of 'c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_init.c'. c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_init.c(1842): warning C6246: Local declaration of 'i' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1730' of 'c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_init.c'. c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_pphrase.c(193): warning C6246: Local declaration of 'asn1' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '139' of 'c:\vc15\win32\httpd-trunk\modules\ssl\ssl_engine_pphrase.c'. c:\vc15\win32\httpd-trunk\modules\ssl\ssl_util.c(179): warning C6001: Using uninitialized memory 'finfo'. mod_http2 c:\vc15\win32\httpd-trunk\modules\http2\h2_bucket_beam.c(731): warning C6011: Dereferencing NULL pointer 'beam'. c:\vc15\win32\httpd-trunk\modules\http2\h2_bucket_beam.c(819): warning C6246: Local declaration of 'data' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '776' of 'c:\vc15\win32\httpd-trunk\modules\http2\h2_bucket_beam.c'. c:\vc15\win32\httpd-trunk\modules\http2\h2_bucket_beam.c(863): warning C6001: Using uninitialized memory 'can_beam'. c:\vc15\win32\httpd-trunk\modules\http2\h2_bucket_beam.c(1089): warning C6011: Dereferencing NULL pointer 'brecv'. c:\vc15\win32\httpd-trunk\modules\http2\h2_conn_io.c(205): warning C6246: Local declaration of 'len' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '194' of 'c:\vc15\win32\httpd-trunk\modules\http2\h2_conn_io.c'. c:\vc15\win32\httpd-trunk\modules\http2\h2_from_h1.c(595): warning C28182: Dereferencing NULL pointer. 'b' contains the same NULL value as 'body_bucket' did. See line 535 for an earlier location where this can occur c:\vc15\win32\httpd-trunk\modules\http2\h2_mplx.c(982): warning C6246: Local declaration of 'stream' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '968' of 'c:\vc15\win32\httpd-trunk\modules\http2\h2_mplx.c'. c:\vc15\win32\httpd-trunk\modules\http2\h2_ngn_shed.c(314): warning C6246: Local declaration of 'entry' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '265' of 'c:\vc15\win32\httpd-trunk\modules\http2\h2_ngn_shed.c'. c:\vc15\win32\httpd-trunk\modules\http2\h2_session.c(1111): warning C6011: Dereferencing NULL pointer 'stream'. c:\vc15\win32\httpd-trunk\modules\http2\h2_workers.c(349): warning C6011: Dereferencing NULL pointer 'workers->slots' mod_md: c:\vc15\win32\httpd-trunk\modules\md\mod_md_config.c(879): warning C6011: Dereferencing NULL pointer 's'. See line 873 for an earlier location where this can occur: Lines: 873, 874, 875, 876, 877, 878, 879 c:\vc15\win32\httpd-trunk\modules\md\mod_md.c(717): warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value. c:\vc15\win32\httpd-trunk\modules\md\md_reg.c(618): warning C6001: Using uninitialized memory 'creds'.: Lines: 579, 580, 581, 582, 583, 584, 585, 586, 588, 589, 590, 593, 618 c:\vc15\win32\httpd-trunk\modules\md\md_json.c(349): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(361): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(449): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(452): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(468): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(486): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(687): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(710): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_crypt.c(663): warning C28182: Dereferencing NULL pointer. 'cp' contains the same NULL value as 'dhex' did. : Lines: 649, 650, 651, 652, 653, 654, 656, 657, 658, 659, 661, 662, 663 c:\vc15\win32\httpd-trunk\modules\md\md_acme_drive.c(226): warning C6001: Using uninitialized memory 'changed'.: Lines: 161, 162, 163, 164, 165, 170, 177, 178, 182, 189, 198, 226 c:\vc15\win32\httpd-trunk\modules\md\md_acme_drive.c(866): warning C6011: Dereferencing NULL pointer 'ad->chain'. : Lines: 678, 679, 680, 681, 683, 690, 707, 709, 710, 713, 714, 717, 723, 733, 739, 741, 747, 749, 750, 751, 752, 753, 754, 758, 762, 849, 851, 853, 854, 855, 857, 860, 862, 864, 866 Generating Code... c:\vc15\win32\httpd-trunk\modules\md\md_acme_drive.c(226): warning C6001: Using uninitialized memory 'changed'. c:\vc15\win32\httpd-trunk\modules\md\md_acme_drive.c(866): warning C6011: Dereferencing NULL pointer 'ad->chain'. c:\vc15\win32\httpd-trunk\modules\md\md_crypt.c(663): warning C28182: Dereferencing NULL pointer. 'cp' contains the same NULL value as 'dhex' did. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(349): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(361): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(449): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(452): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(468): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(486): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(687): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_json.c(710): warning C6287: Redundant code: the left and right sub-expressions are identical. c:\vc15\win32\httpd-trunk\modules\md\md_reg.c(618): warning C6001: Using uninitialized memory 'creds'. c:\vc15\win32\httpd-trunk\modules\md\mod_md.c(717): warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value. c:\vc15\win32\httpd-trunk\modules\md\mod_md_config.c(879): warning C6011: Dereferencing NULL pointer 's'. See line 873 for an earlier location where this can occur mod_filter c:\vc15\win32\httpd-trunk\modules\filters\mod_filter.c(323): warning C6011: Dereferencing NULL pointer 'ctx->func'. mod_lua c:\vc15\win32\httpd-trunk\modules\lua\lua_request.c(359): warning C6246: Local declaration of 'len' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '341' of 'c:\vc15\win32\httpd-trunk\modules\lua\lua_request.c'. c:\vc15\win32\httpd-trunk\modules\lua\lua_request.c(382): warning C6031: Return value ignored: 'sscanf'. c:\vc15\win32\httpd-trunk\modules\lua\mod_lua.c(939): warning C6330: 'const char' passed as _Param_(1) when 'unsigned char' is required in call to 'isspace'.