-
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 |
---|---|---|
.. | ||
asm | ||
common | ||
compel | ||
compel.h | ||
cpu.h | ||
handle-elf.h | ||
infect-rpc.h | ||
infect-util.h | ||
infect.h | ||
ksigset.h | ||
log.h | ||
loglevels.h | ||
plugins | ||
plugins.h | ||
ptrace.h | ||
sigframe-common.h | ||
task-state.h |