History log of /openbsd-src/usr.sbin/ldapd/syntax.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 7cf58871 28-May-2017 jmatthew <jmatthew@openbsd.org>

Fix checks for seconds and timezones in generalized times.
Fixing the CHECK_RANGE macro in r1.4 revealed that the seconds check
accidentally relied on the macro being broken. While looking into this

Fix checks for seconds and timezones in generalized times.
Fixing the CHECK_RANGE macro in r1.4 revealed that the seconds check
accidentally relied on the macro being broken. While looking into this I
noticed that the timezone check was also wrong, treating the timezone as
optional for generalized times.

investigation and diff mostly by Seiya Kawashima.

show more ...


# dd8c3f8b 13-Apr-2017 deraadt <deraadt@openbsd.org>

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


# 3f9f973b 11-Oct-2015 guenther <guenther@openbsd.org>

The <ctype.h> is*() interfaces expect EOF or an unsigned char; cast to
(unsigned char) as required

found by Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) w/Coccinelle


# a509009b 23-Nov-2013 deraadt <deraadt@openbsd.org>

unsigned char casts for ctype
ok jca


# 7c686fcd 03-Sep-2010 martinh <martinh@openbsd.org>

Implement attribute syntaxes from RFC4517. This adds validation to the most
common attribute types. Specialized attribute types like Delivery Method or
Teletex Terminal Identifier are recognized for

Implement attribute syntaxes from RFC4517. This adds validation to the most
common attribute types. Specialized attribute types like Delivery Method or
Teletex Terminal Identifier are recognized for completeness, but not
validated.

show more ...