[DragonFlyBSD - Bug #2995] (Closed) dragonfly/usr.sbin/mixer/mixer.c:248: bad width ?

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Mar 30 14:04:55 PDT 2017


Issue #2995 has been updated by dillon.

Status changed from New to Closed

committed

----------------------------------------
Bug #2995: dragonfly/usr.sbin/mixer/mixer.c:248: bad width ?
http://bugs.dragonflybsd.org/issues/2995#change-13103

* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
dragonfly/usr.sbin/mixer/mixer.c:248]: (error) Width 7 given in format string (no. 2) is larger than destination buffer 'rstr[5]', use %4s to prevent overflowing it.

Source code is

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




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list