From: Dominique Martinet <asmadeus@codewreck.org>
To: edbrowse-dev@edbrowse.org
Subject: Re: uninitialized globals
Date: Sat, 6 Apr 2024 03:37:09 +0900 [thread overview]
Message-ID: <ZhBE1Z4YDYRewB6z@codewreck.org> (raw)
In-Reply-To: <ZhBAZ14ZikbuBVnw@kraftkrust>
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
next prev parent reply other threads:[~2024-04-05 18:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 8:29 Karl Dahlke
2024-04-05 10:43 ` Sebastian Humenda
2024-04-05 11:14 ` Tyler Spivey
2024-04-05 11:52 ` Sebastian Humenda
2024-04-05 12:20 ` Tyler Spivey
[not found] ` <ZhABdF68z0u7NC7g@kraftkrust>
[not found] ` <3749fabd-aadf-95da-99da-04d34268a68a@pcdesk.net>
[not found] ` <ZhANkf4kZM2UkLka@kraftkrust>
2024-04-05 14:54 ` Tyler Spivey
2024-04-05 15:48 ` Tyler Spivey
2024-04-05 18:18 ` Sebastian Humenda
2024-04-05 18:37 ` Dominique Martinet [this message]
2024-04-05 18:47 ` Sebastian Humenda
2024-04-05 19:07 ` Dominique Martinet
2024-04-05 14:21 ` Karl Dahlke
2024-04-05 14:42 ` Sebastian Humenda
2024-04-05 15:10 ` Karl Dahlke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZhBE1Z4YDYRewB6z@codewreck.org \
--to=asmadeus@codewreck.org \
--cc=edbrowse-dev@edbrowse.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).