Скрытый текст
CC build/main/hd_http.oC:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c: In function 'authorize':
C:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c:267:56: error: '%s' directive output may be truncated writing up to 79 bytes into a region of size between 62 and 253 [-Werror=format-truncation=]
snprintf(resp, sizeof(resp), "%s:%s:%s:%s:auth:%s", ha1, digest->nonce,
^~
C:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c:267:17: note: 'snprintf' output between 10 and 313 bytes into a destination of size 256
snprintf(resp, sizeof(resp), "%s:%s:%s:%s:auth:%s", ha1, digest->nonce,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
digest->nc, digest->cnonce, ha2);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c: In function 'httpDirList':
C:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c:858:31: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 77 [-Werror=format-truncation=]
snprintf(f, sizeof(f), "/s/%s", dent->d_name);
^~
C:/msys32/home/Andrei/esp/esp32_hd/main/hd_http.c:858:4: note: 'snprintf' output between 4 and 259 bytes into a destination of size 80
snprintf(f, sizeof(f), "/s/%s", dent->d_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
make[1]: *** [/home/Andrei/esp/esp-idf/make/component_wrapper.mk:292: hd_http.o] Ошибка 1
make: *** [C:/msys32/home/Andrei/esp/esp-idf/make/project.mk:590: component-main-build] Ошибка 2