Project

General

Profile

Actions

Bug #2995

closed

dragonfly/usr.sbin/mixer/mixer.c:248: bad width ?

Added by dcb over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/29/2017
Due date:
% Done:

0%

Estimated time:

Description

dragonfly/usr.sbin/mixer/mixer.c:248]: (error) Width 7 given in format string (no. 2) is larger than destination buffer 'rstr5', use %4s to prevent overflowing it.

Source code is

m = sscanf(argv[1], "%7[^:]:%7s", lstr, rstr);
Actions

Also available in: Atom PDF