Bug 31647

Summary: Buffer overflow in yyGetNumber
Product: xorg Reporter: Diego Nieto Cid <dnietoc>
Component: App/xkbcompAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: daniel
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.