X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/82724cc70656f382234e525befc08d90a9b896a5..3eeca98e1b0daba1fde1e73ba003ed84838e9862:/gencode.c?ds=inline diff --git a/gencode.c b/gencode.c index 40614b93..cc11f90b 100644 --- a/gencode.c +++ b/gencode.c @@ -8123,6 +8123,8 @@ gen_byteop(compiler_state_t *cstate, int op, int idx, bpf_u_int32 val) if (setjmp(cstate->top_ctx)) return (NULL); + assert_maxval(cstate, "byte argument", val, UINT8_MAX); + switch (op) { default: abort();