libnm-glib: fix infinite loop checking agent identifier

This commit is contained in:
Dan Williams 2010-12-14 11:12:24 -06:00
parent 85fa487a48
commit 84abb13554

View file

@ -462,6 +462,7 @@ validate_identifier (const char *identifier)
return FALSE;
if ((*p == '.') && (*(p + 1) == '.'))
return FALSE;
p++;
}
return TRUE;