Skip to content
Snippets Groups Projects
Commit 2b32e52a authored by Pierangelo Masarati's avatar Pierangelo Masarati Committed by Quanah Gibson-Mount
Browse files

ITS#7224 check *_names pointer before dereferencing

parent afe9af35
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,8 @@ at_delete_names( AttributeType *at )
{
char **names = at->sat_names;
if (!names) return;
while (*names) {
struct aindexrec tmpair, *air;
......
......@@ -400,6 +400,8 @@ oc_delete_names( ObjectClass *oc )
{
char **names = oc->soc_names;
if (!names) return;
while (*names) {
struct oindexrec tmpoir, *oir;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment