dtudcfonted: Resolve further coverity issues

This commit is contained in:
Peter Howkins
2018-03-30 22:09:47 +01:00
parent e507de959e
commit e195df4b50
20 changed files with 51 additions and 44 deletions

View File

@@ -1153,8 +1153,8 @@ char *output;
char fbuf[BUFSIZE], split[BUFSIZE] ;
char *ep, *pix_sz, *point_sz, *rsl_x, *av_width, *char_set ;
strcpy( fbuf, font ) ;
strcpy( split, font ) ;
snprintf( fbuf, sizeof(fbuf), "%s", font ) ;
snprintf( split, sizeof(split), "%s", font ) ;
ep = fbuf ;
ep += strlen( fbuf ) ;
ep-- ;