Bug 15774

Summary: xorg/xserver - branch origin/server-1.4-branch - Fix an off by one read error in drmSIGIOHandler()
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Fix-an-off-by-one-read-error-in-drmSIGIOHandler.patch none

Description Paulo César Pereira de Andrade 2008-04-30 13:41:45 UTC
Created attachment 16267 [details] [review]
0001-Fix-an-off-by-one-read-error-in-drmSIGIOHandler.patch

It could "smash" some drm related variables on the stack
as it is "aligned".

  I believe the problem also exists in git master.

  If I recall correctly, I added this patch long ago after working
on testing (or trying to...) the X Server with valgrind. But forgot
to submit to freedesktop.
Comment 1 Peter Hutterer 2008-04-30 18:19:55 UTC
Pushed, thanks.

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.