bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
c69a177207ed18d0f0210347430a60957136bd6c |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on pool_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- pool_unref(&E);
- }
+ pool_unref(&E); |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
2afb37869c781a79601ba49abe0dd15fa0ffa72e |
|
19-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
env_clean(): Previous OSX compile fix broke the function completely. |
074014565e3a03509f646393ee4fe0391de10904 |
|
19-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
Compile fix for OSX. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
a857fb61f1cc77a81d18adee6a95ae04c27a5ffb |
|
09-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
Added env_get_environ_p() as more portable way of accessing environ variable.
Implemented with OS X using _NSGetEnviron(). |
5aaddefb351e87ea1e97db92924a75ff8aa50181 |
|
25-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
Added env_clean_except() |
e376e08040b5f21ff79a15ae728d2532a34207f6 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Small code changes to make static analyzer happier.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
56c15678d4fd710155caecb09be82f9355bd19d7 |
|
15-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Compile fix for systems where unsetenv() returns void.
FreeBSD 6.4, for example.
--HG--
branch : HEAD |
3768e5f626cac81f7f2703ffb6bb9c10efe8e882 |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Check return value if unsetenv().
--HG--
branch : HEAD |
e8c29d12e0e75ca35a64f0a0d096ad44248b206f |
|
02-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lib_deinit() now frees memory used by env_put().
--HG--
branch : HEAD |
9e95ca63385f300c7625beba9174cbf0e019d406 |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
Added env_backup_*() for saving/restoring environment.
--HG--
branch : HEAD |
ddf487be7e31ff34d434405566e9255c6dcd7532 |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
env_clean(): Clear the environment memory pool also.
We trust that nowadays our environment clearing code works everywhere.
--HG--
branch : HEAD |
008dbfed0e54e292b7075020b8d4258e054a3330 |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
env-util: Minor code cleanup.
--HG--
branch : HEAD |
730839fc072a49bb88c01fbf984157c93a90300f |
|
08-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
env_remove(): Implement a fallback method if unsetenv() doesn't exist.
Fixes compiling at least with Solaris 8.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
8e6e668126491f248d5305b5f7b15f46f03f07b1 |
|
13-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Added env_remove().
--HG--
branch : HEAD |
8b5ddfa1dca9341e7c2c7facf99d557c52fb6c66 |
|
10-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
env_clean(): calloc() is probably the safest way to do it.
--HG--
branch : HEAD |
8fa0258c986f227c159576eeb2a7c2fcb191a90e |
|
10-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
env_clean(): Try yet another way that appears to work better.
--HG--
branch : HEAD |
ec283ec7c45dcb0c7ae276203f4ba61570f8733a |
|
09-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Use clearenv() if available.
--HG--
branch : HEAD |
64e846e0d7288a7f62198d0b46d0661a0630e1e3 |
|
09-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
env_clean(): Don't free environment memory pool to make sure the environment
won't get corrupted in case the clearing fails.
--HG--
branch : HEAD |
221351ed85c839e0b03d82c47654c3d17202e3db |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Memory pool allocation tweaks.
--HG--
branch : HEAD |
e959e240bb8975cba293a94dbc61712b232904f6 |
|
05-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Reverted "environment array" changes. It broke overriding imap/pop3 settings
from userdb and the performance improvements weren't all that great anyway.
--HG--
branch : HEAD |
77ebdd4ea458350c492f042a76a2056e013e69be |
|
02-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added functions for building an "environment array". It can be passed later
to execve().
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
648d24583c1574441c4fa0331a90bd4d6e7996c5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
pool_unref() now takes ** pointer.
--HG--
branch : HEAD |
1953b68bca52700c398fec6609660ee3e1041e6a |
|
14-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Out of memory may not be the only reason putenv() fails. In OSX it seems to
fail if "=value" is given.
--HG--
branch : HEAD |
367c05967091a2cbfce59b7f274f55b1a0f9e8c9 |
|
16-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Raised initial pool sizes.
--HG--
branch : HEAD |
5e0ce63bb65db34d7f48b34bbb5545fa791781c4 |
|
26-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Removed most of the license comments from src/lib/*.c. It's just fine to
keep them in a single COPYING.MIT file. Changed a few other comments as well.
--HG--
branch : HEAD |
de1ec079c58e6278a24dc1a84a08510e5ee7e45f |
|
04-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
Removed restrict_access_clean_env() and env_remove(). They're not needed.
--HG--
branch : HEAD |
6086c1babba050999c2945edada676a1106554cc |
|
21-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Added env_remove() and restrict_access_clear_env().
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
--HG--
branch : HEAD |
2b619d427addefb7d1660b23a528259d162a5f67 |
|
21-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
We don't have separate read-write pools, so renamed pool_create(.., FALSE)
to pool_alloconly_create().
--HG--
branch : HEAD |
984c8781472be7cb5c3e1143a1617e4867b45143 |
|
18-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
unix98 says putenv() returns non-zero for errors - check for that rather
than just negative values.
--HG--
branch : HEAD |
aff95d423ca04ac801d55bbb3e29cc18d630f97a |
|
18-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Drop root privileges earlier. Close syslog more later in imap-master when
forking new processes, so that any errors get logged. Make sure that all
errors show up in log files - use specific exit status codes if we can't
write to log file. Make sure imap and login processes always drop root
privileges even if master process didn't ask for it for some reason.
putenv() wasn't verified to succeed - luckily we never allowed large user
given data there.
--HG--
branch : HEAD |
927ad0beb4e89ee888b8a2c7af69d39cfd4c88cc |
|
26-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
crashfix
--HG--
branch : HEAD |
a128456c8530046dd9a998386f383160e70b532f |
|
26-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
Created env_put() and env_clean() for a bit easier handling of environment
variables.
--HG--
branch : HEAD |