mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 14:46:23 +00:00
Fix cdb_len handling to avoid crashes on attempts to copy negative cdb_len bytes + minor scst_user residual fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1788 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -778,6 +778,7 @@ void *main_loop(void *arg)
|
||||
PRINT_ERROR("SCST_USER_REPLY_AND_GET_CMD failed: "
|
||||
"%s (%d)", strerror(res), res);
|
||||
#if 1
|
||||
cmd.preply = 0;
|
||||
continue;
|
||||
#else
|
||||
goto out_close;
|
||||
|
||||
Reference in New Issue
Block a user