log_xxd(): use safer snprintf() instead of sprintf()
log_xxd(): use safer snprintf() instead of sprintf()

coverity: Event secure_coding: [VERY RISKY]. Using "sprintf" can cause a
buffer overflow when done incorrectly. Because sprintf() assumes an
arbitrarily long string, callers must be careful not to overflow the
actual space of the destination. Use snprintf() instead, or correct
precision specifiers.


git-svn-id: d8b078d517c8be834637447f210d7177f0fa38d6@5836 0ce88b0d-b2fd-0310-8134-9614164e65ea

hiranotaka/ccid-scr331-nttcom,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom