-
Dmitry Safonov authored
Found by Coverity error: > CID 172193 (#1 of 1): Bad bit shift operation (BAD_SHIFT) > 1. large_shift: In expression 1 << sig % 64, left shifting > by more than 31 bits has undefined behavior. The shift amount, > sig % 64, is as much as 63. That is: 1. yes, UB 2. while adding a signal to mask, this has flushed all other signals from mask. Signed-off-by:
Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by:
Andrei Vagin <avagin@virtuozzo.com>
72557edb
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| uapi | ||
| compel-cpu.h | ||
| elf32-types.h | ||
| elf64-types.h | ||
| errno.h | ||
| infect-priv.h | ||
| log.h | ||
| piegen.h | ||
| ptrace.h | ||
| rpc-pie-priv.h | ||
| shmem.h |