mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
Bug #13860: Ensure that the DRI mode is in octal format.
This commit is contained in:
parent
c934366424
commit
b5ce0e1d0b
2 changed files with 7 additions and 0 deletions
|
|
@ -117,6 +117,8 @@ xf86parseDRISection (void)
|
|||
case MODE:
|
||||
if (xf86getSubToken (&(ptr->dri_comment)) != NUMBER)
|
||||
Error (NUMBER_MSG, "Mode");
|
||||
if (val.numType != PARSE_OCTAL)
|
||||
Error (MUST_BE_OCTAL_MSG, val.num);
|
||||
ptr->dri_mode = val.num;
|
||||
break;
|
||||
case BUFFERS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue