summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-03-20Merge pull request #803 from ailin-nemui/bug-796-testailin-nemui
Postpone server cleanup until after unref
2018-03-09More g_strcmp0 -> g_ascii_strcasecmpLemonBoy
2018-03-08Compare channels/networks fields case-insensitivelyLemonBoy
Fixes #856
2018-02-14limit alignment padding to a screenfulailin-nemui
Credit to Oss-Fuzz
2018-02-13improve padding performanceailin-nemui
Credit to Oss-Fuzz
2018-02-05Merge pull request #775 from LemonBoy/caps_kvailin-nemui
CAP 3.2 support
2018-01-25fix sequence errorAilin Nemui
2018-01-25Do not use X509_STORE on OpenSSL < 1.0.2Ailin Nemui
2018-01-24Deprecate gslist_remove_stringLemonBoy
It is not used anymore and it leaks memory.
2018-01-07Properly dispose the GSList chainsLemonBoy
We forgot to free the link and the data, oops.
2018-01-07Merge pull request #746 from ailin-nemui/hide-linesailin-nemui
Add method to hide lines in a view
2018-01-06fix uaf in signal pathailin-nemui
2018-01-05fix crash in notifylistailin-nemui
2018-01-04Merge branch 'fix-gl-21' into 'security'Nei
check if \\c is complete in eval See merge request irssi/irssi!26
2018-01-04Postpone server cleanup until after unrefailin-nemui
Add a new signal, server destroyed, that is supposed to run the clean up tasks of server disconnected. This is so that some structures will stay around longer.
2018-01-03disable variable arguments codeailin-nemui
2018-01-03check if \\c is complete in evalailin-nemui
2017-11-30move decls before codeailin-nemui
2017-11-30fix commentsailin-nemui
2017-11-26Merge branch 'master' into hide-linesailin-nemui
2017-11-10use enumailin-nemui
2017-11-01show initial nick and name on first startailin-nemui
2017-10-23Merge pull request #770 from horgh/horgh/rm-unused-functionailin-nemui
Remove a couple unused functions
2017-10-20Make split functions return an array with NULL instead of NULLJoseph Bisch
This avoids undefined behavior in functions that call these split functions and expect an array back instead of just a NULL pointer.
2017-10-20Revert "Don't proceed with cmd_msg if there was an error splitting msg"Joseph Bisch
This reverts commit bd83852d646de28f2e0fe01efe7c9236aa4074d4.
2017-10-20Don't proceed with cmd_msg if there was an error splitting msgJoseph Bisch
There may be cases (such as if target or server->nick is very long) where the split_message function returns NULL, indicating an error. To avoid a potential segfault, we now check to see if splitmsgs is NULL.
2017-10-13Mark net_ip_compare() deprecatedWill Storey
2017-10-13Revert "Delete unused function net_ip_compare()"Will Storey
This reverts commit cb5f3cba1f2b5dbad67bcc107f3fe4a1875cc52d.
2017-10-13Merge pull request #769 from horgh/horgh/error-check-server-connectailin-nemui
Set host to an empty string on error
2017-10-11Silence down a warning that would appear on "/away" in Capability mode.Edward Tomasz Napierala
2017-10-11Sort Capsicum headers.Edward Tomasz Napierala
2017-10-11Improve Capsicum stdio limits to fix terminal state on exit.Edward Tomasz Napierala
2017-10-11Bump default capsicum_port_max to 9999.Edward Tomasz Napierala
This is needed for servers like ssl.efnet.org, which, per default config, listen on 9999.
2017-10-10Always initialize the host stringWill Storey
This also removes a wordy comment
2017-10-09Delete unused function net_connect()Will Storey
2017-10-09Delete commented out CYGWIN defineWill Storey
2017-10-09Delete unused function net_ip_compare()Will Storey
2017-10-09Set host to an empty string on errorWill Storey
While investigating #317, I noticed that it was possible we would access an uninitialized buffer due to failing to check the return value of net_ip2host(). This is done in several places. To make such uses safe, set the host buffer to an empty string on error. It is possible callers could be improved by handling the error in each spot, but this gives us some safety.
2017-10-07Limit capsicum rights to stdio.Edward Tomasz Napierala
This requires FreeBSD fix (https://reviews.freebsd.org/D12622) to work properly.
2017-09-21hidden linesailin-nemui
2017-09-15Merge pull request #755 from trasz/capsicumailin-nemui
Get rid of the zombies in Capsicum capability mode.
2017-09-12Get rid of the zombies in Capsicum capability mode.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-09-11Restore compatibility with old OpenSSL versionsLemonBoy
Let's implement X509_STORE_up_ref on our own.
2017-09-11Increment the X509_STORE refcount during the connectionLemonBoy
OpenSSL doesn't increment the reference count when the store is assigned to a SSL_CTX.
2017-09-10Merge pull request #735 from trasz/capsicumailin-nemui
Add Capsicum support
2017-08-10Don't error out on failure to load default certificate store.Edward Tomasz Napierala
This restores the previous behaviour. Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-09Add back some ifdefs.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-05Update /CONNECT and /SERVER syntax tags (-ssl -> -tls).Paul Townsend
2017-08-01Attempt to fix build by adding the forgotten header.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-01Change the way we load default CA certificates so it works with Capsicum.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>