Project

General

Profile

Actions

Bug #5112

open

error: 'strncpy' output truncated before terminating...

Added by Dirk Diggler almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-05-13
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3.r912.g5fe3ebd48-1
Affected Versions:

Description

src/wrappers.c: In function 'tvhthread_create':
src/wrappers.c:200:3: error: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(ts->name, "tvh:", 4);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:704: /home/docmax/.cache/pacaur/tvheadend-git/src/tvheadend-git/build.linux/src/wrappers.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build tvheadend-git package(s)


Files

mod_make_gcc_happy.patch (3.76 KB) mod_make_gcc_happy.patch Un Known, 2018-05-17 23:50
Actions

Also available in: Atom PDF