diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | dpi/cookies.c | 3 | ||||
-rw-r--r-- | src/cookies.c | 3 |
3 files changed, 6 insertions, 7 deletions
@@ -4,21 +4,22 @@ Dillo project dillo-2.1 ++- Added ipv6 addresses iteration and ipv4 fallback. + Patch: James Turner, Jorge Arellano +- Added support for numeric IPv6 addresses entered into the url bar. - Used the URL authority part instead of stripped default port in HTTP query. Patches: Justus Winter +- Fix for file inputs without values (forms). - Tuned input width a bit. - Cleaned up resource embedding (forms) + - Made cookierc parsing more robust. Patches: place (AKA corvid) +- Switched SSL enabled to configure.in (./configure --enable-ssl). Patch: Jeremy Henty +- Allowed compilation with older machines by removing a few C99isms. - Added use of inttypes.h when stdint.h isn't found. Patches: Dan Fandrich -+- Added ipv6 addresses iteration and ipv4 fallback. - Patch: James Turner, Jorge Arellano -+- Set the File menu label to hide when the File menu button is shown. ++- Set the File menu label to hide when the File menu-button is shown. ? Trying a new iconv() test in configure.in. Patch: Jorge Arellano diff --git a/dpi/cookies.c b/dpi/cookies.c index bfdf3b3d..63a1b7f8 100644 --- a/dpi/cookies.c +++ b/dpi/cookies.c @@ -1247,12 +1247,11 @@ static int Cookie_control_init(void) j = 0; /* Get the domain */ - while (!isspace(line[i])) + while (line[i] != '\0' && !isspace(line[i])) domain[j++] = line[i++]; domain[j] = '\0'; /* Skip past whitespaces */ - i++; while (isspace(line[i])) i++; diff --git a/src/cookies.c b/src/cookies.c index 1b336b83..b4843a1d 100644 --- a/src/cookies.c +++ b/src/cookies.c @@ -254,12 +254,11 @@ static int Cookie_control_init(void) j = 0; /* Get the domain */ - while (!isspace(line[i])) + while (line[i] != '\0' && !isspace(line[i])) domain[j++] = line[i++]; domain[j] = '\0'; /* Skip past whitespaces */ - i++; while (isspace(line[i])) i++; |