bug-groff
[Top][All Lists]
Advanced

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

[bug #64301] [troff] susceptible to integer overflow


From: G. Branden Robinson
Subject: [bug #64301] [troff] susceptible to integer overflow
Date: Thu, 25 Jul 2024 17:16:19 -0400 (EDT)

Update of bug #64301 (group groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #7:


commit a3e0a4fe337a1482410a307180825e55c0fc0869
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Jul 25 15:10:39 2024 -0500

    src/roff/troff/number.cpp: Fix Savannah #64301.
    
    * src/roff/troff/number.cpp (vunits::vunits, hunits::hunits): Migrate to
      C23 checked arithmetic macros.  Throw error if addition overflows.
    
    Fixes <https://savannah.gnu.org/bugs/?64301>.  (For real this time,
    fingers crossed.)

commit a7687009739feb5592f33de6e6a3573bae7fc349
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Jul 25 08:22:33 2024 -0500

    [troff]: Add more tests of arithmetic.
    
    * src/roff/groff/tests/arithmetic-works.sh: Add more tests.
    
    Test fails at this commit.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64301>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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