Re: [PATCH] xfs: Use scnprintf() for avoiding potential buffer overflow

Christoph Hellwig
2020-03-13T06:52:46Z

FYI, the right fix for sysfs would be to simply offer a new variant
of ->show using the seq_file infrastructure. That will take care
of all the bounds checking in a maintainable and well understood way.