Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
w3m.6581
CVE-2018-6196.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-6196.patch of Package w3m.6581
From 8354763b90490d4105695df52674d0fcef823e92 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita <tats@debian.org> Date: Sat, 20 Jan 2018 21:31:03 +0900 Subject: [PATCH] Prevent negative indent value in feed_table_block_tag() Bug-Debian: https://github.com/tats/w3m/issues/88 --- table.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/table.c b/table.c index 221db92..4f193e1 100644 --- a/table.c +++ b/table.c @@ -2356,10 +2356,14 @@ feed_table_block_tag(struct table *tbl, if (mode->indent_level < MAX_INDENT_LEVEL) tbl->indent -= INDENT_INCR; } + if (tbl->indent < 0) + tbl->indent = 0; offset = tbl->indent; if (cmd == HTML_DT) { if (mode->indent_level > 0 && mode->indent_level <= MAX_INDENT_LEVEL) offset -= INDENT_INCR; + if (offset < 0) + offset = 0; } if (tbl->indent > 0) { check_minimum0(tbl, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor