mirror of https://github.com/GNOME/gimp.git
don't dereference a NULL pointer when a gimprc variable is used before it's
defined. Exit gracefully -Yosh
This commit is contained in:
parent
5fce38a6db
commit
41aa51ff31
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue