commit | 6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 10:04:26 2020 +0100 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Sat Mar 14 14:32:04 2020 +0100 |
tree | 979cca5bcec42f3039a78ee882bf3c91719f378b | |
parent | 7c8c5673f6cf1f35d5ffb1df3095526d28e6730a [diff] |
pcmcia: Use scnprintf() for avoiding potential buffer overflow Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>