bug-groff
[Top][All Lists]
Advanced

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

[bug #63214] [eqn] reads from uninitialized memory when reporting file n


From: G. Branden Robinson
Subject: [bug #63214] [eqn] reads from uninitialized memory when reporting file name in diagnostics
Date: Fri, 3 Feb 2023 16:49:23 -0500 (EST)

Update of bug #63214 (project groff):

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

    _______________________________________________________

Follow-up Comment #2:


commit 947a6822a1667457b249856d76e3741329e31848
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Feb 3 04:40:25 2023 -0600

    [eqn]: Fix Savannah #63214.
    
    * src/preproc/eqn/lex.cpp (get_delimited_text): Avoid reading from
      invalid memory when throwing diagnostic.  Duplicate `filename` string,
      then free it on all paths out of function.
    
    Fixes <https://savannah.gnu.org/bugs/?63214>.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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