MFH: r378558
Apply two upstream patches to address two remote DoS issues:
- ITS8027: crash when a search includes the Deref control with an empty attribute list.
- ITS8046: double free and crash by certain search queries using the Matched Values control.
Approved by: ports-secteam@