diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-29 08:44:25 -0400 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-29 08:47:33 -0400 |
| commit | d5b9857609401e3cf9c53b111134a6aab8e4573c (patch) | |
| tree | d3760c61f661d53a4b06c3deeb630842d595ae6d /web | |
| parent | fa1d37502c87310886614949a8d72124762b2dcb (diff) | |
| download | jsnbd-d5b9857609401e3cf9c53b111134a6aab8e4573c.tar.gz jsnbd-d5b9857609401e3cf9c53b111134a6aab8e4573c.zip | |
client: fix gcc8 stringop-truncation warnings
| In function 'open_nbd_socket.isra.2',
| inlined from 'main' at ../git/nbd-proxy.c:835:7:
| ../git/nbd-proxy.c:102:2: error: 'strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation]
| strncpy(addr.sun_path, path, sizeof(addr.sun_path));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I9f412d789f4e5ef1dffe05b37d903a5375fea8ec
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions

