Task #41 — sybase_basic.c:172: poor error checking ?
Attached to Project — OpenDBX
Opened by David Binderman (dcb) - Tuesday, 16 Aug 2016, 9:18pm
Bug Report | Low | ||
Library | Normal | ||
Unconfirmed | 1.4.x | ||
No-one | Undecided | ||
All | |||
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 ) { return -ODBX_ERR_SIZE; } But the return type of snprintf is int. |
Comments (0) | Attachments (0) | Related Tasks (0/0) | Notifications (1) | Reminders (0) | History |