pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/netsurf



Module Name:    pkgsrc
Committed By:   nros
Date:           Mon Nov 11 12:58:53 UTC 2019

Modified Files:
        pkgsrc/www/netsurf: distinfo
Added Files:
        pkgsrc/www/netsurf/patches:
            patch-netsurf_content_handlers_html_html__interaction.c

Log Message:
Fix crash in netsurf when surfing certain pages

Fix crash in netsurf when surfing pages that have visability:hidden set
for the entire page.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/netsurf/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/netsurf/patches/patch-netsurf_content_handlers_html_html__interaction.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/netsurf/distinfo
diff -u pkgsrc/www/netsurf/distinfo:1.16 pkgsrc/www/netsurf/distinfo:1.17
--- pkgsrc/www/netsurf/distinfo:1.16    Mon Nov 11 12:31:16 2019
+++ pkgsrc/www/netsurf/distinfo Mon Nov 11 12:58:53 2019
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.16 2019/11/11 12:31:16 nros Exp $
+$NetBSD: distinfo,v 1.17 2019/11/11 12:58:53 nros Exp $
 
 SHA1 (netsurf-all-3.9.tar.gz) = 392aa7cf94b303228a00e6887c74e5763a81f3a4
 RMD160 (netsurf-all-3.9.tar.gz) = 3f7aff04cfd253f2b18590830b0aa2fca0123b3c
 SHA512 (netsurf-all-3.9.tar.gz) = 3223b0a3bc9721ea1a5a81bbabdda11e1d0f63850074a5dea3ea8999e53c92f07228f58befbf10359c028965131426888a8b9595d6c3cd7a5cde33ca256cf987
 Size (netsurf-all-3.9.tar.gz) = 8416458 bytes
+SHA1 (patch-netsurf_content_handlers_html_html__interaction.c) = 5dbfbaf26ba8ee32077af5aae0db2ee54cf59eb8
 SHA1 (patch-netsurf_frontends_gtk_download.c) = 8a449c0b46859be104f2eb87860960f84ebd38ad
 SHA1 (patch-netsurf_utils_config.h) = 761700b4fd92ea68d8644e3ec2ac270e0e0dd3fc
 SHA1 (patch-nsgenbind_src_Makefile) = 9024fe193c532fefec83b86a8cf85f1bcffb614e

Added files:

Index: pkgsrc/www/netsurf/patches/patch-netsurf_content_handlers_html_html__interaction.c
diff -u /dev/null pkgsrc/www/netsurf/patches/patch-netsurf_content_handlers_html_html__interaction.c:1.1
--- /dev/null   Mon Nov 11 12:58:53 2019
+++ pkgsrc/www/netsurf/patches/patch-netsurf_content_handlers_html_html__interaction.c  Mon Nov 11 12:58:53 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-netsurf_content_handlers_html_html__interaction.c,v 1.1 2019/11/11 12:58:53 nros Exp $
+* fix crash when an entire document has visability: hidden
+  from upstream:
+http://source.netsurf-browser.org/netsurf.git/commit/content/handlers/html/html_interaction.c?id=acee5faa3f03a229a6d7d14e042441a6af048faf
+--- netsurf/content/handlers/html/html_interaction.c.orig      2019-11-11 12:34:12.647371538 +0000
++++ netsurf/content/handlers/html/html_interaction.c
+@@ -382,7 +382,7 @@ void html_mouse_action(struct content *c
+       int padding_left, padding_right, padding_top, padding_bottom;
+       browser_drag_type drag_type = browser_window_get_drag_type(bw);
+       union content_msg_data msg_data;
+-      struct dom_node *node = NULL;
++      struct dom_node *node = html->layout->node; /* Default to the <HTML> */
+       union html_drag_owner drag_owner;
+       union html_selection_owner sel_owner;
+       bool click = mouse & (BROWSER_MOUSE_PRESS_1 | BROWSER_MOUSE_PRESS_2 |



Home | Main Index | Thread Index | Old Index