mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r23756: Fix Coverity id 388
This commit is contained in:
parent
ebb410ca1e
commit
91af086823
@ -82,6 +82,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
|
||||
|
||||
if (length + 2 < length) {
|
||||
/* Integer wrap. */
|
||||
SAFE_FREE(tmp);
|
||||
err = WERR_INVALID_PARAM;
|
||||
goto error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user