bugGNU Screen - Bugs: bug #43863, socket.c buffer overrun


bug #43863: socket.c buffer overrun

Submitter:  Joshua Rogers <megamansec3>
Submitted:  Sun 21 Dec 2014 10:20:35 PM UTC
Votes: 5
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  anaumov
Open/Closed:  Open Release:  4.2.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sun 21 Dec 2014 10:20:35 PM UTC, original submission:  


In socket.c on line 204, a buffer overrun may occur of 3 bytes due to incorrect calculation.

204            cmatch = (*(n + matchlen) == 0);

As it does not account for the matchlen

n = 3
matchlen = 255


Joshua Rogers <megamansec3>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ssducf (Voted in favor of this item)
  • -email is unavailable- added by anaumov (Updated the item)
  • -email is unavailable- added by megamansec3 (Submitted the item)

    There are 5 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-22 ssducf Carbon-Copy- Added ssducf
    2015-06-03 anaumov Assigned toNone anaumov

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code