Closed fenugrec closed 3 years ago
all (?) L0 drivers have something like
if (len <= 0) { return diag_iseterr(DIAG_ERR_BADLEN); }
but len is unsigned (size_t). Anyway that should be an assert(0) unrecoverable error; L0 should never get 0-length sends.
Same idea in tty_read and tty_write
Once fixed, remove cppcheck suppression (see #70 )
Fixed via #70 .
all (?) L0 drivers have something like
but len is unsigned (size_t). Anyway that should be an assert(0) unrecoverable error; L0 should never get 0-length sends.
Same idea in tty_read and tty_write