Forwarded: no upstream exists anylonger Description: fix ftbfs with gcc8 --- ifhp-3.5.20.orig/src/ifhp.c +++ ifhp-3.5.20/src/ifhp.c @@ -2800,7 +2800,7 @@ char *Find_sub_value( int c, char *id, i DEBUG4("Find_sub_value: type '%c', id '%s'", c, id ); if( *id == '?' ){ char copy[128]; - strncpy(copy,id+1,sizeof(copy)); + snprintf(copy, sizeof(copy), "%s", id+1); v1 = v2 = 0; v1 = safestrchr(copy, '?'); if( v1 ){