Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/00697c7fad138d241c26a...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/00697c7fad138d241c26a67...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/00697c7fad138d241c26a6709...
The branch, master has been updated
via 00697c7fad138d241c26a670992cee2cbc6045b7 (commit)
from afa408c7506842cea88d2a93701ce86f6c87c178 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commitdiff/00697c7fad138d241c2...
commit 00697c7fad138d241c26a670992cee2cbc6045b7
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Fix imagemap handling to handle no coords attr when shape attr is not default.
diff --git a/render/imagemap.c b/render/imagemap.c
index 9663a89..bf90443 100644
--- a/render/imagemap.c
+++ b/render/imagemap.c
@@ -450,7 +450,7 @@ imagemap_addtolist(dom_node *n, nsurl *base_url,
/* If not 'default' and there's no 'coords' give up */
exc = dom_element_get_attribute(n, corestring_dom_coords,
&coords);
- if (exc != DOM_NO_ERR) {
+ if (exc != DOM_NO_ERR || coords == NULL) {
goto ok_out;
}
}
-----------------------------------------------------------------------
Summary of changes:
render/imagemap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/render/imagemap.c b/render/imagemap.c
index 9663a89..bf90443 100644
--- a/render/imagemap.c
+++ b/render/imagemap.c
@@ -450,7 +450,7 @@ imagemap_addtolist(dom_node *n, nsurl *base_url,
/* If not 'default' and there's no 'coords' give up */
exc = dom_element_get_attribute(n, corestring_dom_coords,
&coords);
- if (exc != DOM_NO_ERR) {
+ if (exc != DOM_NO_ERR || coords == NULL) {
goto ok_out;
}
}
--
NetSurf Browser