+9
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The string "cmd %d RESET FAILED, new lockup detected" is not quite large enough so the sprintf() will overflow. I have increased the size of the buffer and also changed the sprintf calls to snprintf. Fixes: 73153fe5 ('hpsa: use block layer tag for command allocation') Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Acked-by:
Don Brace <don.brace@pmcs.com> Signed-off-by:
James Bottomley <JBottomley@Odin.com>