Commit d856c328 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

links: bump to version 2.8

parent a869f78e
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
Index: links-1.01pre1-no-ssl/links.h
===================================================================
--- links-1.01pre1-no-ssl.orig/links.h	2010-06-21 00:39:10.000000000 +0200
+++ links-1.01pre1-no-ssl/links.h	2010-06-21 00:39:52.000000000 +0200
@@ -2,6 +2,9 @@
Make links buildable without LFS support.
Author/status: unknown.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura links-2.8/com-defs.h links-2.8.nonlfs/com-defs.h
--- links-2.8/com-defs.h	2013-07-31 20:45:30.000000000 -0300
+++ links-2.8.nonlfs/com-defs.h	2014-12-28 08:42:47.352237462 -0300
@@ -5,6 +5,9 @@
 #define __EXTENSIONS__
 #endif
 
@@ -12,11 +16,11 @@ Index: links-1.01pre1-no-ssl/links.h
 #ifndef _LARGEFILE_SOURCE
 #define _LARGEFILE_SOURCE	1
 #endif
@@ -9,6 +12,7 @@
@@ -20,6 +23,7 @@
 #ifndef _FILE_OFFSET_BITS
 #define _FILE_OFFSET_BITS	64
 #endif
+#endif
+#endif /* UCLIBC !LFS */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #if defined(vax) && !defined(__vax)
 #define __vax	vax
+0 −17
Original line number Diff line number Diff line
Description: Fix integer overflow in graphics mode (CVE-2013-6050)
Author: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Bug-CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6050

Index: links-2.7/html_tbl.c
===================================================================
--- links-2.7.orig/html_tbl.c   2013-11-22 01:57:29.000000000 +0100
+++ links-2.7/html_tbl.c        2013-11-22 01:58:30.000000000 +0100
@@ -1550,6 +1550,8 @@ static void add_to_rect_sets(struct rect
 static void add_to_cell_sets(struct table_cell ****s, int **nn, int *n, struct rect *r, struct table_cell *c)
 {
 	int i, j;
+	if (r->y1 < 0 || r->y2 < 0)
+		fatal_exit("add_to_cell_sets: integer overflow: %d, %d", r->y1, r->y2);
 	for (i = r->y1 >> RECT_BOUND_BITS; i <= (r->y2 - 1) >> RECT_BOUND_BITS; i++) {
 		if (i >= *n) {
 			struct table_cell ***ns;
+2 −0
Original line number Diff line number Diff line
# Locally calculated
sha256	5070a759af7f107ca4f9572833b8f086cd9f7c21ef5e1fce8482a2883a743c7a	links-2.8.tar.gz
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#
################################################################################

LINKS_VERSION = 2.7
LINKS_VERSION = 2.8
LINKS_SITE = http://links.twibright.com/download
LINKS_DEPENDENCIES = host-pkgconf
LINKS_LICENSE = GPLv2+