~m11g5w-3-5lmmq9/spice-vdi/trunk

Viewing all changes in revision 631.

  • Committer: Adam Jackson
  • Date: 2017-06-13 13:29:28 UTC
  • Revision ID: git-v1:78abd5221f7efd87383aa357590efff083449aa3
modesetting: Validate the atom for enum properties

The client could have said anything here, and if what they said doesn't
actually name an atom NameForAtom() will return NULL, and strcmp() will
be unhappy about that.

[copied from xserver d4995a3936ae283b9080fdaa0905daa669ebacfc]

Signed-off-by: Adam Jackson <ajax@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: