diff options
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index e934cad9f..7f50f48a6 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -1298,7 +1298,7 @@ get_option (char *start, *optionsend = end + 1; start = strstr (start, name); - if (start == NULL) return NULL; + if (start == NULL || start > end) return NULL; start += strlen (name); /* Find end of option, either ',' or '}' */ |