2015-02-23 15:23:47

by David Binderman

[permalink] [raw]
Subject: linux-4.0-rc1 bug report

Hello there,

[linux-4.0-rc1/drivers/net/wireless/ath/wil6210/debugfs.c:634]: (error) Width 8 given in format string (no. 1) is larger than destination buffer 'cmd[8]', use %7s to prevent overflowing it.

This looks like an off-by-one error to me.

Suggest either make the buffer bigger, to contain all 8 characters,
or change the width to suit.

Regards

David Binderman