OpenBSD CVS

CVS log for src/usr.bin/ldap/aldap.c


[BACK] Up to [local] / src / usr.bin / ldap

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_6_BASE


Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 10 14:35:32 2019 UTC (4 years, 9 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE
Branch point for: OPENBSD_6_6
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

During libutil/ber.c r1.12 I made sure that every element that's requested
by ber_scanf_elements must exist.

aldap.c apparently abused the old behaviour by always trying to retrieve
the referral element, which according to RFC4511 section 4.1.9 is optional.

This diff only requests the referral element if we get a referral response.

OK rob@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.