diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:13:47 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:13:47 -0500 |
commit | 6be7c2788d6c5688a7c3703828fc6f093f0c9c05 (patch) | |
tree | fcc4976fddee6c85a5e26b4eaf5851cf3d256821 /src/map.c | |
parent | 97f1410dacc66f735c95c4b2d49a99eea12e4333 (diff) | |
download | slapi-nis-6be7c2788d6c5688a7c3703828fc6f093f0c9c05.tar.gz slapi-nis-6be7c2788d6c5688a7c3703828fc6f093f0c9c05.tar.xz slapi-nis-6be7c2788d6c5688a7c3703828fc6f093f0c9c05.zip |
- don't deref a null pointer on out-of-memory here (defect #10093)
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -862,6 +862,9 @@ map_data_set_map(struct plugin_state *state, /* XXX */ return; } + } else { + /* XXX */ + return; } } /* Check if the map's already been defined in the domain. */ @@ -903,6 +906,9 @@ map_data_set_map(struct plugin_state *state, /* XXX */ return; } + } else { + /* XXX */ + return; } } else { /* There's already a map there, we just need to update the |