Commit f45672c
authored
libvncserver: check before shifting in table init
As it can turn into undefined behavior like
shift exponent 32 is too large for 32-bit type 'uint32_t'1 parent eb1389d commit f45672c
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
0 commit comments