Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
squid.34512
CVE-2024-37894.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2024-37894.patch of Package squid.34512
From f411fe7d75197852f0e5ee85027a06d58dd8df4c Mon Sep 17 00:00:00 2001 From: Francesco Chemolli <kinkie@squid-cache.org> Date: Sun, 2 Jun 2024 16:41:08 +0200 Subject: [PATCH] Force downcast in TrieNode::add --- lib/libTrie/TrieNode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: squid-5.7/lib/libTrie/TrieNode.cc =================================================================== --- squid-5.7.orig/lib/libTrie/TrieNode.cc +++ squid-5.7/lib/libTrie/TrieNode.cc @@ -32,7 +32,7 @@ TrieNode::add(char const *aString, size_ /* We trust that privatedata and existant keys have already been checked */ if (theLength) { - int index = transform ? (*transform)(*aString): *aString; + const unsigned char index = transform ? (*transform)(*aString): *aString; if (!internal[index]) internal[index] = new TrieNode;
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