[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26415] UBSAN error: bfd/vms-misc.c:636:26:

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26415] UBSAN error: bfd/vms-misc.c:636:26:
Date: Wed, 26 Aug 2020 13:54:21 +0000


--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:


commit b4e125d9351f84233698bef91530743547c87403
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Aug 26 11:26:35 2020 +0930

    PR26415 UBSAN: vms-misc.c:636 left shift cannot be represented

    An unsigned short value is promoted to int, thus triggering UB on a
    left shift of a positive value that results in a negative int.

            PR 26415
            * vms-misc.c (vms_time_t_to_vms_time): Don't use unsigned short

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]