don't dereference a NULL pointer when a gimprc variable is used before it's

defined. Exit gracefully

-Yosh
This commit is contained in:
Manish Singh 1998-04-19 05:23:22 +00:00
parent 5fce38a6db
commit 41aa51ff31
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sat Apr 18 22:19:10 PDT 1998 Manish Singh <yosh@gimp.org>
* app/gimprc.c: don't dereference NULL pointer when a gimprc
variable is used before it's defined. Exit gracefully
Sat Apr 18 11:45:04 PDT 1998 Manish Singh <yosh@gimp.org>
* Made 0.99.27 release

View File

@ -1396,6 +1396,10 @@ transform_path (char *path,
{
is_env = TRUE;
}
else
{
terminate("gimprc token referenced but not defined: %s", token);
}
}
tmp2 = transform_path (tmp2, FALSE);
if (is_env)