pkgsrc/www/lynx/patches/patch-ba
drochner 1b3bff2d7b add a patch from OpenBSD / Debian which fixes Lynx going into an
infinite loop on certain invalid HTML (CVE-2004-1617)
bump PKGREVISION
2006-05-29 16:58:18 +00:00

13 lines
613 B
Text

$NetBSD: patch-ba,v 1.3 2006/05/29 16:58:18 drochner Exp $
--- userdefs.h.orig 2006-05-29 14:15:01.000000000 +0200
+++ userdefs.h
@@ -1379,6 +1379,8 @@
#define MAXCHARSETS 60 /* max character sets supported */
#define TRST_MAXROWSPAN 10000 /* max rowspan accepted by TRST code */
#define TRST_MAXCOLSPAN 1000 /* max colspan and COL/COLGROUP span accepted */
+#define MAX_TABLE_ROWS 200 /* max rows for tables */
+#define MAX_TABLE_COLS 200 /* max cols for tables */
#define SAVE_TIME_NOT_SPACE /* minimize number of some malloc calls */
/* Win32 may support more, but old win16 helper apps may not. */