Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
curl.36283
curl-aws_sigv4-skip-the-op-if-the-query-pair-is...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File curl-aws_sigv4-skip-the-op-if-the-query-pair-is-zero-bytes.patch of Package curl.36283
From 16bdc09ee01c8041cde3e7f1f11de17f5a6c27b0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Fri, 8 Sep 2023 18:13:14 +0200 Subject: [PATCH] http_aws_sigv4: skip the op if the query pair is zero bytes Follow-up to fc76a24c53b08cdf Spotted by OSS-Fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62175 Closes #11823 --- lib/http_aws_sigv4.c | 2 ++ 1 file changed, 2 insertions(+) --- curl-8.0.1.orig/lib/http_aws_sigv4.c +++ curl-8.0.1/lib/http_aws_sigv4.c @@ -423,6 +423,8 @@ static CURLcode canon_query(struct Curl_ for(i = 0; !result && (i < entry); i++, ap++) { size_t len; const char *q = ap->p; + if(!ap->len) + continue; for(len = ap->len; len && !result; q++, len--) { if(ISALNUM(*q)) result = Curl_dyn_addn(dq, q, 1);
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