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/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: Alexander Naumov <anaumov>
Open/Closed: OpenRelease: 4.2.1
Fixed Release: NonePlanned 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jul 2017 06:05:35 PM UTCssducfCarbon-Copy-=>Added ssducf
    Wed 03 Jun 2015 04:27:34 PM UTCanaumovAssigned toNone=>anaumov

    Back to the top

    Powered by Savane 3.1-cleanup1