minidriver: replace one sprintf by sprintf_s

This commit is contained in:
vletoux 2015-10-10 14:15:23 +02:00
parent 811a86e72a
commit 227f48d7b0
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ static void loghex(PCARD_DATA pCardData, int level, PBYTE data, size_t len)
memset(line, 0, sizeof(line));
while(i < len) {
sprintf(c,"%02X", *p);
sprintf_s(c, sizeof(line)-(size_t)(c-line),"%02X", *p);
p++;
c += 2;
i++;