Overview

Request 619631 accepted

No description set
Loading...

Dominique Leuenberger's avatar
[  321s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/smplayer-18.5.0/webserver'
[  321s] cc main.c mongoose.c -o simple_web_server -O2 -W -Wall -Werror -Wno-unused-function  -DMG_DISABLE_DAV_AUTH -DMG_ENABLE_HTTP_CGI=0 -DMG_ENABLE_THREADS=0 -pthread
[  324s] mongoose.c: In function 'mg_send_ssi_file.part.42':
[  324s] mongoose.c:8370:65: error: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 500 [-Werror=format-truncation=]
[  324s]      snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", file_name);
[  324s]                                                                  ^~   ~~~~~~~~~
[  324s] mongoose.c:8370:5: note: 'snprintf' output between 1 and 8192 bytes into a destination of size 500
[  324s]      snprintf(path + strlen(path), sizeof(path) - strlen(path), "%s", file_name);
[  324s]      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  324s] mongoose.c:8362:35: error: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 500 [-Werror=format-truncation=]
[  324s]      snprintf(path, sizeof(path), "%s", file_name);
[  324s]                                    ^~   ~~~~~~~~~
[  324s] mongoose.c:8362:5: note: 'snprintf' output between 1 and 8192 bytes into a destination of size 500
[  324s]      snprintf(path, sizeof(path), "%s", file_name);
[  324s]      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  324s] mongoose.c:8356:38: error: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 499 [-Werror=format-truncation=]
[  324s]      snprintf(path, sizeof(path), "%s/%s", opts->document_root, file_name);
[  324s]                                       ^~                        ~~~~~~~~~
[  324s] mongoose.c:8356:5: note: 'snprintf' output 2 or more bytes (assuming 8193) into a destination of size 500
[  324s]      snprintf(path, sizeof(path), "%s/%s", opts->document_root, file_name);
[  324s]      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  324s] mongoose.c: In function 'mg_resolve_async_opt':
[  324s] mongoose.c:10791:3: error: 'strncpy' specified bound 1024 equals destination size [-Werror=stringop-truncation]
[  324s]    strncpy(req->name, name, sizeof(req->name));
[  324s]    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  324s] cc1: all warnings being treated as errors
[  324s] make[1]: *** [Makefile:20: simple_web_server] Error 1
[  324s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/smplayer-18.5.0/webserver'
[  324s] make: *** [Makefile:32: webserver/simple_web_server] Error 2
[  324s] error: Bad exit status from /var/tmp/rpm-tmp.AXMjU5 (%build)
Request History
Alexei Sorokin's avatar

XRevan86 created request


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:96"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:96


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


mrdocs's avatar

mrdocs accepted review

Seems upstream has fixed a lot of issues. Thanks.


Staging Bot's avatar

staging-bot accepted review

ready to accept


Staging Bot's avatar

staging-bot approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by