bugmake - Bugs: bug #63990, Fix a buffer overflow in warning.c.

 
 

bug #63990: Fix a buffer overflow in warning.c.

Submitter:  Dmitry Goncharov <dgoncharov>
Submitted:  Sun 02 Apr 2023 06:38:21 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  SCM Operating System:  Any
Fixed Release:  SCM Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 Apr 2023 12:19:32 PM UTC, comment #3: 

Fixed thanks Dmitry.

Paul D. Smith <psmith>
Group administrator
Sun 02 Apr 2023 06:52:07 PM UTC, comment #2: 

There is already a test which tests this use case.

Dmitry Goncharov <dgoncharov>
Sun 02 Apr 2023 06:50:44 PM UTC, comment #1: 

Settings like .WARNINGS = bogus causes decode_warn_name to return wt_max. decode_warn_actions then stores wt_max in type and the action at data->actions[type] and touches beyond the size of data->actions.

Dmitry Goncharov <dgoncharov>
Sun 02 Apr 2023 06:38:21 PM UTC, original submission:  

.

Dmitry Goncharov <dgoncharov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54551:  sv63990.fix added by dgoncharov (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by dgoncharov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-04-03 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone SCM
        Triage StatusNone Small Effort
    2023-04-02 dgoncharov Attached File- Added sv63990.fix, #54551

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code