]> git.sur5r.net Git - i3/i3/commit
libi3: Add basic validation to hex color conversion 2838/head
authorTony Crisci <tony@dubstepdish.com>
Wed, 12 Jul 2017 21:50:19 +0000 (17:50 -0400)
committerTony Crisci <tony@dubstepdish.com>
Wed, 12 Jul 2017 21:53:15 +0000 (17:53 -0400)
commit3a914396df50441377f1d0f17912653dd4bba4cf
tree477265af6b95fbd320f9561f70e64b30488b0a59
parent1c06f8b797bcd4cb142dbb7169aa5cce1ae1f50e
libi3: Add basic validation to hex color conversion

Make sure a given hex color is the expected length and begins with a hash in
draw_util_hex_to_color() to avoid memory errors.

fixes #2829
libi3/draw_util.c