widl: Check for [string] attribute being applied when the elements are ranged.
authorRob Shearman <robertshearman@gmail.com>
Sat, 7 Nov 2009 14:54:32 +0000 (15:54 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Nov 2009 19:35:13 +0000 (20:35 +0100)
commit3885dd778a389802c04ac4a99b45433526786bdd
tree09e7763a062c78de917f8379a691a47daa6d5aea
parent2b3659f326da64723f9d9e1adb14a6c6d0ec5c6a
widl: Check for [string] attribute being applied when the elements are ranged.

The range will not be verified in and misconception could turn into a
security problem.

Move [string] attribute validation from reg_typedefs to set_type.
tools/widl/parser.y