On Tue, 28 May 2024 16:44:39 +0800 Xiao Ni <xni@xxxxxxxxxx> wrote: > mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme2n1 > *** buffer overflow detected ***: terminated > Aborted (core dumped) > > It doesn't happen 100% and it depends on the building environment. > It can be fixed by replacing sprintf with snprintf. > > Fixes: d835518b6b53 ('imsm: nvme multipath support') > Reported-by: Guang Wu <guazhang@xxxxxxxxxx> > Signed-off-by: Xiao Ni <xni@xxxxxxxxxx> > --- Applied! Thanks, Mariusz