Christophe JAILLET
e97eb65dd4
ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
...
snprintf() returns the "number of characters which *would* be generated for
the given input", not the size *really* generated.
In order to avoid too large values for 'o' (and potential negative values
for "sizeof(linebuf) o") use scnprintf() instead of snprintf().
Note that given the "w < 4" in the for loop, the buffer can NOT
overflow, but using the *right* function is always better.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
2023-09-11 15:13:35 +09:00
..
2023-07-17 08:30:41 +09:00
2023-03-24 19:19:19 -04:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-05-15 06:49:39 +09:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:06 +09:00
2023-07-03 12:56:23 -07:00
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:06 +09:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:07 +09:00
2023-09-11 15:09:11 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-23 10:29:26 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:07 +09:00
2022-10-18 13:53:27 +09:00
2023-09-02 12:04:51 +09:00
2023-08-02 17:45:10 +09:00
2020-03-26 10:28:19 -06:00
2022-01-05 19:33:01 +09:00
2023-09-11 15:09:11 +09:00
2023-09-09 12:01:33 -07:00
2023-08-02 17:45:10 +09:00
2023-01-04 13:36:26 +09:00
2022-11-11 17:26:05 +09:00
2017-11-02 11:10:55 +01:00
2019-07-29 16:00:14 -06:00
2023-08-02 17:45:36 +09:00
2023-02-22 13:35:51 -08:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:53:09 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-24 08:09:59 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-25 22:09:43 +09:00
2023-08-28 19:14:41 +09:00
2023-08-25 08:21:03 +09:00
2023-08-24 08:09:59 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-17 07:45:32 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:37:06 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-04-26 15:39:25 -07:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:49 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-07-28 08:52:42 +09:00
2023-07-26 08:32:21 +09:00
2023-05-15 06:49:39 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:55:52 +09:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:45:42 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-08-02 17:55:52 +09:00
2023-08-25 08:21:29 +09:00
2017-11-02 11:10:55 +01:00
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:06 +09:00
2023-09-11 15:13:35 +09:00
2023-08-02 17:37:06 +09:00
2023-03-24 19:19:19 -04:00
2019-05-21 11:28:46 +02:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-08-02 17:37:07 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-06-13 15:38:48 +09:00
2023-08-02 17:45:33 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2017-11-02 11:10:55 +01:00