Task #41 — sybase_basic.c:172: poor error checking ?Attached to Project — OpenDBX
Opened by David Binderman (dcb) - Tuesday, 16 Aug 2016, 9:18pm
sybase_basic.c:172]: (style) Checking if unsigned variable 'buflen' is less than zero.
Source code is
if( ( buflen = snprintf( buffer, 64, "USE %s", database ) ) < 0 )
But the return type of snprintf is int.
These tasks are related to this task
Other tasks that this task is related to