ubsan: Fixed shift overflow on signed int
This commit is contained in:
parent
e0ea52e60d
commit
182a66bc43
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ bool handle_phase(struct server_ctx *sctx, struct client_ctx *ctx, const criteri
|
|||
handler_error(sctx, "%s: ", id, "Cannot spawn a subtest outside of the '%s' test phase.", state_to_string[CS_MAIN]);
|
||||
return true;
|
||||
}
|
||||
if (ctx->state & (0x3 << (MAX_TEST_DEPTH - 1) * 2)) {
|
||||
if (ctx->state & (0x3u << (MAX_TEST_DEPTH - 1) * 2)) {
|
||||
char id[32];
|
||||
get_message_id(id, sizeof (id), msg);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue