Commit Graph

3392 Commits

Author SHA1 Message Date
Nicolas Höft
f7f0af67d8 (fix) Fix SIGSEGV and compilation due to missing include crypt.h
When building on debian buster, the following warning occurs during
compiling:

    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) _asCryptedUsingSalt:magic:]’:
    NSData+Crypto.m:610:9: warning: implicit declaration of function ‘crypt’; did you mean ‘creat’? [-Wimplicit-function-declaration]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
             ^~~~~
             creat
    NSData+Crypto.m:610:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) asCryptUsingSalt:]’:
    NSData+Crypto.m:674:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
     Creating derived_src/NSFramework_SOGo.m..

This warning is apparently more severe as it may also cause segfaults
(at least on Debian Buster) when logging in, rendering sogo unusable:

    2019-07-21 11:27:55.623 sogod[16074:16074] MySQL4 connection established 0x0x55e6b9e56f40
    2019-07-21 11:27:55.624 sogod[16074:16074] MySQL4 channel 0x0x55e6b9aa41f0 opened (connection=0x0x55e6b9e56f40,sogo)
    2019-07-21 11:27:55.624 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40> SQL: SELECT c_password FROM sogo_userview WHERE c_uid = 'xxxx';
    2019-07-21 11:27:55.625 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40>   query has results, entering fetch-mode.
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]> child 16074 exited
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]>  (terminated due to signal 11)
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b992b360[WOWatchDog]> child spawned with pid 16268

The reason for this segfault is likely the implicit conversion to int,
leading to uninitialized higher bits of the pointer passed to NSData.
2019-07-21 12:00:21 +02:00
Francis Lachapelle
8b6b9d80af (i18n) Update translations 2019-07-19 12:50:18 -04:00
Francis Lachapelle
60247e83e7 (i18n) Update German translation 2019-07-09 16:15:37 -04:00
Francis Lachapelle
e24082183f Reflect attendee type with generic icon 2019-07-04 15:10:41 -04:00
Francis Lachapelle
a746a6b23d (i18n) Update Catalan translation
Fixees #4726
2019-06-17 11:43:43 -04:00
Francis Lachapelle
f0c8aa884c (i18n) Add Indonesian (id) translation 2019-06-14 10:58:29 -04:00
Francis Lachapelle
0e918a446a Add rel="noopener" to external links
Fixes #4764
2019-06-10 13:20:44 -04:00
Daniel Carlos Silva
193b73fa26 Update SOGoMailFolder.m 2019-05-23 18:20:10 -03:00
Ludovic Marcotte
f57ff86951 (fix) fixed domain placeholder issue when using sogo-tool (fixes #4723) 2019-05-23 15:02:10 -04:00
Ludovic Marcotte
29f5357a2c (fix) added safety checks in S/MIME (fixes #4745) 2019-05-23 09:21:44 -04:00
Ludovic Marcotte
0e038a62fd (fix) improve handling of signer certificate (fixes #4742) 2019-05-08 08:09:14 -04:00
Florian Beier
bad69a0f1a Adjust word order
"schrieb" was in the wrong place, it has to go in front of the contact's name
2019-04-12 01:39:48 +02:00
Ludovic Marcotte
96bcbbdc14 (fix) consider DAVx5 like Apple Calendar (fixes #4304) 2019-03-21 14:08:44 -04:00
Francis Lachapelle
fcdc4c92c0 Improve URLs/emails detection in text mail parts 2019-03-21 11:01:17 -04:00
Ludovic Marcotte
d75fe573b2 (fix) potential fix for #4289 2019-03-18 15:46:39 -04:00
Ludovic Marcotte
0d78d3814c (fix) correctly handle the full cert chain in S/MIME 2019-03-15 13:55:41 -04:00
Ludovic Marcotte
93f344bdbe added missing commit 2019-03-15 13:44:49 -04:00
Ludovic Marcotte
008e901ad6 (fix) we update the baseDN placeholders of all LDAP sources upon login 2019-03-15 13:35:12 -04:00
Francis Lachapelle
47456c9ebd Allow super users to modify any event
Fixes #4216
2019-03-13 09:08:31 -04:00
Francis Lachapelle
e456e47147 (i18n) Add missing subject of appointment reminder
Fixes #4656
2019-02-27 09:52:18 -05:00
Francis Lachapelle
36cd54209a (i18n) Update French translation 2019-02-21 09:44:33 -05:00
Ludovic Marcotte
98463f2ff2 (fix) sent messages cannot be replied to their BCC email addresses (fixes #4460) 2019-02-19 14:50:49 -05:00
Ludovic Marcotte
dad0be1815 (fix) make sure we keep a pristine version of the baseDN 2019-02-19 13:40:58 -05:00
Ludovic Marcotte
bc456dcef8 (fix) fixed bad password login interval (fixes #4664) 2019-02-19 11:59:49 -05:00
Ludovic Marcotte
7c3df9f650 (fix) changes to contacts are now propagated to lists (fixes #850, #4301, #4617) 2019-02-18 15:27:34 -05:00
Ludovic Marcotte
15c6074907 (fix) correctly handle event ownership when accepting invitations 2019-02-14 11:19:58 -05:00
Ludovic Marcotte
d908468442 (fix) dynamic basdDN support for the top-level SOGoUserSources 2019-02-14 09:48:03 -05:00
Ludovic Marcotte
aaf4166c44 (fix) handle role change during event updates 2019-02-07 14:10:39 -05:00
Ludovic Marcotte
249671543e (feat) we now handle optional and non-required attendee states 2019-02-04 11:52:26 -05:00
Ludovic Marcotte
d9943e559f (feat) baseDN now accept dynamic domain values (fixes #3685) 2019-02-04 07:37:56 -05:00
Francis Lachapelle
9a8415c095 Fix refresh of drafts folder when saving a draft 2019-01-21 16:24:07 -05:00
Francis Lachapelle
24a30b688f Ignore transparent events in conflict validation
Fixes #4539
2019-01-15 17:12:14 -05:00
Francis Lachapelle
ce285ac8fd (i18n) Update BrazilianPortuguese translation 2019-01-08 15:49:46 -05:00
Francis Lachapelle
cc9df8e24f (i18n) Update translations 2018-12-21 21:34:27 -05:00
Francis Lachapelle
c96a99ae69 Fix download of HTML body parts 2018-12-10 16:05:12 -05:00
Francis Lachapelle
3cd9d82e16 (i18n) Update BrazilianPortuguese translation
Fixes #4590
2018-11-22 10:52:55 -05:00
Ludovic Marcotte
8734ee7486 (fix) be a bit more verbose when session is expired 2018-11-09 13:50:13 -05:00
Francis Lachapelle
36cb0e65d9 (i18n) Update Portuguese translation 2018-10-23 15:03:35 -04:00
Francis Lachapelle
35ea86557c Fix time conflict validation when not owner 2018-10-22 12:11:08 -04:00
Francis Lachapelle
59c3bdc242 Fix time conflict validation 2018-10-22 11:20:06 -04:00
Ludovic Marcotte
995ccb2b73 (fix) avoid saving non-parsable events/tasks 2018-10-09 14:47:22 -04:00
Francis Lachapelle
398ef4dcde Fix time conflict validation
Fixes #4539
2018-09-13 15:56:31 -04:00
Francis Lachapelle
a7c88597c6 Fix email reminders support for tasks 2018-09-13 14:56:44 -04:00
Francis Lachapelle
563a2cd9df Fix behaviour of return receipt actions 2018-09-13 10:05:17 -04:00
Francis Lachapelle
9ddb65a07a New button to reset Calendar categories
Also added default colors to categories.
2018-09-07 21:38:31 -04:00
Francis Lachapelle
9838c369b2 Update comment in SOGoAppointmentObject.m 2018-09-07 15:26:36 -04:00
Francis Lachapelle
3bdd90e2be Don't allow duplicate GCS folder names 2018-08-30 22:09:17 -04:00
Francis Lachapelle
b658faa8f2 Fix support for SOGoMaximumMessageSizeLimit 2018-08-29 11:28:08 -04:00
Francis Lachapelle
9f654d223b Fix saving task with reminder related to due date 2018-08-22 14:08:54 -04:00
Francis Lachapelle
828d773b49 Add security flags to cookies (HttpOnly, secure)
Fixes #4525
2018-08-21 14:02:01 -04:00