multi-statement CHECK_RANGE() macro isn't safe for all placements, and
authorderaadt <deraadt@openbsd.org>
Thu, 13 Apr 2017 14:48:31 +0000 (14:48 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 13 Apr 2017 14:48:31 +0000 (14:48 +0000)
commitdd8c3f8b17e4367358a5e87fd78838b6a63f2986
treea96ad4185b90ee7c279cbbcbfa74626d1672957a
parent90abbc648c135d903117f4e2e976c2127e95cf0a
multi-statement CHECK_RANGE() macro isn't safe for all placements, and
needs to use "do {} while 0" idiom; all callers need repair also.
Discovered by jsg
usr.sbin/ldapd/syntax.c