Eliminate 'use of vulnerable sprintf' code defect in de_win test (cord)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 9 Dec 2016 22:54:05 +0000 (01:54 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 9 Dec 2016 22:55:20 +0000 (01:55 +0300)
commitfbdd97254de38951a859e9a96cf08f77435bb05a
tree369ee2f1541612da4cdaf974e881bf418b164ad3
parentd87636e22df9d5985d0a38219ecc0b47978173e0
Eliminate 'use of vulnerable sprintf' code defect in de_win test (cord)

* cord/tests/de_win.c (WinMain): Do not call sprintf() on RegisterClass
and CreateWindow failure; invoke de_error() with the immediate error
message strings (without the error code).
cord/tests/de_win.c