]> git.karo-electronics.de Git - linux-beck.git/commit
staging: media: ompa4iss: Replace sprintf with snprintf
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Tue, 7 Oct 2014 17:50:07 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:16 +0000 (10:29 +0800)
commitd92c54f6c079988317c5c95bdd2dadf7ce71e45c
tree7ac675b4f98d6e37825b1c3fd47b6dde4822b1c2
parentb717a65a7b3156d8b078a72559d6ae63a1b55d54
staging: media: ompa4iss: Replace sprintf with snprintf

This patch replaces sprintf with snprintf as sprintf does
not check for buffer overflow.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/omap4iss/iss_csi2.c