diff options
-rw-r--r-- | src/ephy-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c index 537df50ea..811cd1e6d 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -1367,6 +1367,8 @@ int_from_string (const char *string, long int val; gboolean success = FALSE; + if (string == NULL) return FALSE; + errno = 0; val = strtol (string, &tail, 0); |