public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rebase_40beta: Cannot use malloc with OPENSSL_free.
@ 2026-06-09 12:43 Tomas Mraz
  0 siblings, 0 replies; only message in thread
From: Tomas Mraz @ 2026-06-09 12:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/openssl
Branch : rebase_40beta
Commit : 9c4f375672e958e5b93aeef57b1b135dc230a721
Author : Tomas Mraz <tmraz@fedoraproject.org>
Date   : 2014-06-11T15:30:49+02:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/openssl/c/9c4f375672e958e5b93aeef57b1b135dc230a721?branch=rebase_40beta

Log:
Cannot use malloc with OPENSSL_free.

---
diff --git a/openssl-1.0.1h-system-cipherlist.patch b/openssl-1.0.1h-system-cipherlist.patch
index 0ac422c..bf55b3d 100644
--- a/openssl-1.0.1h-system-cipherlist.patch
+++ b/openssl-1.0.1h-system-cipherlist.patch
@@ -120,7 +120,7 @@ diff -up openssl-1.0.1h/ssl/ssl_ciph.c.system openssl-1.0.1h/ssl/ssl_ciph.c
 +		buf[len] = 0;
 +		}
 +
-+	new_rules = malloc(len + slen + 1);
++	new_rules = OPENSSL_malloc(len + slen + 1);
 +	if (new_rules == 0)
 +		return NULL;
 +
@@ -153,7 +153,7 @@ diff -up openssl-1.0.1h/ssl/ssl_ciph.c.system openssl-1.0.1h/ssl/ssl_ciph.c
 +
 +	if (rule_str != NULL && strncmp(rule_str, "PROFILE=SYSTEM", 14) == 0)
 +		{
-+		char* p = rule_str + 14;
++		char *p = rule_str + 14;
 +
 +		new_rules = load_system_str(p);
 +		rule_str = new_rules;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 12:43 [rpms/openssl] rebase_40beta: Cannot use malloc with OPENSSL_free Tomas Mraz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox