aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/sps
diff options
context:
space:
mode:
authorDmitriy Alexandrov <d06alexandrov@users.noreply.github.com>2023-06-08 09:08:46 +0000
committerCy Schubert <cy@FreeBSD.org>2023-06-09 21:04:54 +0000
commitaf9ce4e9bb7d717279e02d46455e85ef6fb828f7 (patch)
tree37b602f356a568ee1fe1ac226a2a431888af8db9 /release/picobsd/tinyware/sps
parent2c01176a2802cb261d56a09c9faf9bff9dfb3536 (diff)
downloadsrc-main.tar.gz
src-main.zip
kern_ntptime: Fix undefined behavior of the shift operatorHEADmain
L_LINT macro is used with negative numbers [i.e. L_LINT(time_freq, -MAXFREQ)], it could cause undefined behavior. It should be similar to the L_RSHIFT(v, n) macro. MFC after: 2 weeks Reviewed by: cy Pull Request: https://github.com/freebsd/freebsd-src/pull/769 Signed-off-by: Dmitriy Alexandrov <d06alexandrov@gmail.com>
Diffstat (limited to 'release/picobsd/tinyware/sps')
0 files changed, 0 insertions, 0 deletions