diff options
author | Sergey <s.korolev@ndmsystems.com> | 2020-04-24 17:18:41 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2020-05-11 17:09:05 -0400 |
commit | c2d0411488c68a07cc22a5dd76fa37e952d2a66b (patch) | |
tree | 54a88f59533c6ef46c27fd7bca207e178be4fc0a /io/fchdir.c | |
parent | 6fcb0272f76721a45e33061404120907e8c5dae4 (diff) | |
download | glibc-c2d0411488c68a07cc22a5dd76fa37e952d2a66b.tar.gz glibc-c2d0411488c68a07cc22a5dd76fa37e952d2a66b.tar.xz glibc-c2d0411488c68a07cc22a5dd76fa37e952d2a66b.zip |
Use unsigned constants for ICMP6 filters [BZ #22489]
The core problem here is that the filter array elements are unsigned but the computed constants are signed. This both causes a signededness conversion at the &= step and may cause undefined behavior if the MSB is being modified. This patch uses unsigned constants to avoid both cases. - DJ
Diffstat (limited to 'io/fchdir.c')
0 files changed, 0 insertions, 0 deletions