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


bug #43863: socket.c buffer overrun

Submitted by:  Joshua Rogers <megamansec3>
Submitted on:  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:  Alexander Naumov <anaumov>
Open/Closed:  Open Release:  4.2.1
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 5 encouragements so far.

    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.3