mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r20467: Don't segfault if we don't have an OID map
(This used to be commit c0276c373c
)
This commit is contained in:
parent
e18585ba39
commit
3a6da3c60f
@ -332,7 +332,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
|
||||
}
|
||||
|
||||
/* We might have been asked to remap this oid, due to a conflict */
|
||||
for (j=0; oid && oid_map[j].old_oid; j++) {
|
||||
for (j=0; oid && oid_map && oid_map[j].old_oid; j++) {
|
||||
if (strcmp(oid, oid_map[j].old_oid) == 0) {
|
||||
oid = oid_map[j].new_oid;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user