Sebastian Humenda wrote on Fri, Apr 05, 2024 at 08:18:15PM +0200:
> Tyler Spivey schrieb am 05.04.2024,  8:48 -0700:
> >You patched sslCerts. That's causing your crash.
> 
> I didn't patch it, I specified a different source.

I think that's what he means by patched:

edbrowse# cat debian/patches/ssl_certs 
Make edbrowse use the system CA certificates list.

---
 src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/main.c
+++ b/src/main.c
@@ -34,7 +34,7 @@ bool errorExit;
 int webTimeout = 20, mailTimeout = 0;
 int displayLength = 500;
 int verifyCertificates = 1;
-char *sslCerts, *pubKey;
+char *sslCerts = "/etc/ssl/certs/ca-certificates.crt", *pubKey;
 int localAccount, maxAccount;
 struct MACCOUNT accounts[MAXACCOUNT];
 bool ebvar = true; // update environment variables before each shell command


That cannot be passed to nzFree as it's not an allocated value; this
patch should change to set it from strdup at start of main or something.
-- 
Dominique Martinet | Asmadeus

Reply via email to