Bug 12531 - xserver/randr/rrmode.c xalloc() return check
xserver/randr/rrmode.c xalloc() return check
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: Server/General
git
All All
: medium normal
Assigned To: Xorg Project Team
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-23 09:36 UTC by Jernej Azarija
Modified: 2007-12-14 05:17 UTC (History)
1 user (show)

See Also:


Attachments
described patch (401 bytes, patch)
2007-09-23 09:38 UTC, Jernej Azarija
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jernej Azarija 2007-09-23 09:36:18 UTC
In the file rrmode.c , Must_have_memory is not set to TRUE, and all places in the code checks if xalloc() return value, except for the function RModesForScreen() . The relevant patch is attached.
Comment 1 Jernej Azarija 2007-09-23 09:38:18 UTC
Created attachment 11694 [details] [review]
described patch
Comment 2 Daniel Stone 2007-12-14 05:17:50 UTC
fixed in a46c30c3be33ffb304a885503c8aaa78396ed3d9