Bug 31647 - Buffer overflow in yyGetNumber
Summary: Buffer overflow in yyGetNumber
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xkbcomp (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 17:17 UTC by Diego Nieto Cid
Modified: 2011-04-03 15:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Diego Nieto Cid 2010-11-15 17:17:30 UTC
The local variable buf[1] may overflow while reading numbers.

[1] http://cgit.freedesktop.org/xorg/app/xkbcomp/tree/xkbscan.c#n610
Comment 1 Peter Hutterer 2011-04-03 15:54:39 UTC
commit a2877e92bd9f9c1532b5cd12cc484ff3cdbc6a0a
Author: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date:   Fri Apr 1 20:26:30 2011 +1100

    xkbcomp: Stop possible overflow in yyGetnumber. #31647


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.