Home GnuPG
Diffusion GnuPG a68ca5a90457

kbx: Avoid undefined behavior.
a68ca5a90457Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

kbx: Avoid undefined behavior.

* kbx/keybox-file.c (_keybox_read_blob2): Cast to unsigned int before
shifting.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 7 2016, 2:25 PM
Parents
rG7a32f87cccdd: scd: Bug fix for a device with multiple interfaces.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGa68ca5a90457: kbx: Avoid undefined behavior. (authored by Justus Winter <justus@g10code.com>).Mar 7 2016, 2:38 PM