Commit 75aea3f
committed
Avoid a NullPointerException in SearchEntryParer
Updated the logic that the LDAP SDK uses in the in-memory directory
server and the ldifsearch tool to pare matching entries based on a
set of requested attributes in the in-memory. If an entry included
an attribute with an invalid name, then the logic used to parse
an attribute description into the base attribute type name and a set
of attribute options would result in a null pointer exception. It
now uses more lenient logic for parsing attribute descriptions, and
it can handle malformed attribute descriptions in a more graceful
manner.1 parent f485f6a commit 75aea3f
File tree
2 files changed
+12
-8
lines changed- docs
- src/com/unboundid/ldap/listener
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 219 | + | |
222 | 220 | | |
223 | 221 | | |
224 | 222 | | |
225 | 223 | | |
226 | 224 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 225 | | |
233 | 226 | | |
234 | 227 | | |
| |||
0 commit comments