Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.2:Staging:N
libtomcrypt
libtomcrypt-CVE-2019-17362.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtomcrypt-CVE-2019-17362.patch of Package libtomcrypt
From 25c26a3b7a9ad8192ccc923e15cf62bf0108ef94 Mon Sep 17 00:00:00 2001 From: werew <werew@ret2libc.com> Date: Thu, 3 Oct 2019 19:57:10 +0200 Subject: [PATCH] Fixes #507 --- src/pk/asn1/der/utf8/der_decode_utf8_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libtomcrypt-1.17/src/pk/asn1/der/utf8/der_decode_utf8_string.c =================================================================== --- libtomcrypt-1.17.orig/src/pk/asn1/der/utf8/der_decode_utf8_string.c +++ libtomcrypt-1.17/src/pk/asn1/der/utf8/der_decode_utf8_string.c @@ -77,7 +77,7 @@ int der_decode_utf8_string(const unsigne /* count number of bytes */ for (z = 0; (tmp & 0x80) && (z <= 4); z++, tmp = (tmp << 1) & 0xFF); - if (z > 4 || (x + (z - 1) > inlen)) { + if (z == 1 || z > 4 || (x + (z - 1) > inlen)) { return CRYPT_INVALID_PACKET; }
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