Fix CVE-2016-1531 exim-4_87_RC4
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 28 Jan 2016 21:20:33 +0000 (22:20 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 18 Feb 2016 16:36:56 +0000 (17:36 +0100)
commitbc3c7bb7d4aba3e563434e5627fe1f2176aa18c0
tree769b3afeefcc0c189967965f00576b756e9e7966
parent382bf15bed5d85fe017dd3b7d117eeb28f219358
Fix CVE-2016-1531

Add keep_environment, add_environment.
Change the working directory to "/" during the early startup
phase.

(cherry picked from commit 2b92b67bfc33efe05e6ff2ea3852731ac2273832)
(cherry picked from commit 14b82c8b736c8ed24eda144f57703cb9feac6323)
(cherry picked from commit 9ca92d0c6e9c6f161bd8111366c6952d3a9315e2)
(cherry picked from commit 0020c6d9ecfd98ed7b2b337ed4f898fdc409784b)
(cherry picked from commit e8f96966360ea8867ad6a8b5affda6c37fa4958c)
(cherry picked from commit ef6fb807c1e1a665f444f644c60c77269f7c5209)
850 files changed:
doc/doc-docbook/spec.xfpt
doc/doc-txt/ChangeLog
src/OS/Makefile-Base
src/scripts/MakeLinks
src/src/environment.c [new file with mode: 0644]
src/src/exim.c
src/src/functions.h
src/src/globals.c
src/src/globals.h
src/src/readconf.c
src/src/setenv.c
src/src/string.c
src/src/tls-openssl.c
test/confs/0000
test/confs/0001
test/confs/0002
test/confs/0003
test/confs/0004
test/confs/0005
test/confs/0006
test/confs/0007
test/confs/0008
test/confs/0009
test/confs/0010
test/confs/0011
test/confs/0012
test/confs/0013
test/confs/0014
test/confs/0015
test/confs/0016
test/confs/0017
test/confs/0018
test/confs/0019
test/confs/0020
test/confs/0021
test/confs/0022
test/confs/0023
test/confs/0024
test/confs/0025
test/confs/0026
test/confs/0027
test/confs/0028
test/confs/0029
test/confs/0030
test/confs/0031
test/confs/0032
test/confs/0033
test/confs/0034
test/confs/0035
test/confs/0036
test/confs/0037
test/confs/0038
test/confs/0039
test/confs/0040
test/confs/0041
test/confs/0042
test/confs/0043
test/confs/0044
test/confs/0045
test/confs/0046
test/confs/0047
test/confs/0048
test/confs/0049
test/confs/0050
test/confs/0051
test/confs/0052
test/confs/0053
test/confs/0054
test/confs/0055
test/confs/0056
test/confs/0057
test/confs/0058
test/confs/0059
test/confs/0060
test/confs/0061
test/confs/0062
test/confs/0063
test/confs/0064
test/confs/0065
test/confs/0066
test/confs/0067
test/confs/0068
test/confs/0069
test/confs/0070
test/confs/0071
test/confs/0072
test/confs/0073
test/confs/0074
test/confs/0075
test/confs/0076
test/confs/0077
test/confs/0078
test/confs/0079
test/confs/0080
test/confs/0081
test/confs/0082
test/confs/0083
test/confs/0084
test/confs/0085
test/confs/0086
test/confs/0087
test/confs/0088
test/confs/0089
test/confs/0090
test/confs/0091
test/confs/0092
test/confs/0093
test/confs/0094
test/confs/0095
test/confs/0096
test/confs/0097
test/confs/0098
test/confs/0099
test/confs/0100
test/confs/0101
test/confs/0102
test/confs/0103
test/confs/0104
test/confs/0105
test/confs/0106
test/confs/0107
test/confs/0108
test/confs/0109
test/confs/0110
test/confs/0111
test/confs/0112
test/confs/0113
test/confs/0114
test/confs/0115
test/confs/0116
test/confs/0117
test/confs/0118
test/confs/0119
test/confs/0120
test/confs/0121
test/confs/0122
test/confs/0123
test/confs/0124
test/confs/0125
test/confs/0126
test/confs/0127
test/confs/0128
test/confs/0129
test/confs/0130
test/confs/0131
test/confs/0132
test/confs/0133
test/confs/0134
test/confs/0135
test/confs/0136
test/confs/0137
test/confs/0138
test/confs/0139
test/confs/0140
test/confs/0141
test/confs/0142
test/confs/0143
test/confs/0144
test/confs/0145
test/confs/0146
test/confs/0147
test/confs/0148
test/confs/0149
test/confs/0150
test/confs/0151
test/confs/0152
test/confs/0153
test/confs/0154
test/confs/0155
test/confs/0156
test/confs/0157
test/confs/0158
test/confs/0159
test/confs/0160
test/confs/0161
test/confs/0162
test/confs/0163
test/confs/0164
test/confs/0165
test/confs/0166
test/confs/0167
test/confs/0168
test/confs/0169
test/confs/0170
test/confs/0171
test/confs/0172
test/confs/0173
test/confs/0174
test/confs/0175
test/confs/0176
test/confs/0177
test/confs/0178
test/confs/0179
test/confs/0180
test/confs/0181
test/confs/0182
test/confs/0183
test/confs/0184
test/confs/0185
test/confs/0186
test/confs/0187
test/confs/0188
test/confs/0189
test/confs/0190
test/confs/0191
test/confs/0192
test/confs/0193
test/confs/0194
test/confs/0195
test/confs/0196
test/confs/0197
test/confs/0198
test/confs/0199
test/confs/0200
test/confs/0201
test/confs/0202
test/confs/0203
test/confs/0204
test/confs/0205
test/confs/0206
test/confs/0207
test/confs/0208
test/confs/0209
test/confs/0210
test/confs/0211
test/confs/0212
test/confs/0213
test/confs/0214
test/confs/0215
test/confs/0216
test/confs/0217
test/confs/0218
test/confs/0219
test/confs/0220
test/confs/0221
test/confs/0222
test/confs/0223
test/confs/0224
test/confs/0225
test/confs/0226
test/confs/0227
test/confs/0228
test/confs/0229
test/confs/0230
test/confs/0231
test/confs/0232
test/confs/0233
test/confs/0234
test/confs/0235
test/confs/0236
test/confs/0237
test/confs/0238
test/confs/0239
test/confs/0240
test/confs/0241
test/confs/0242
test/confs/0243
test/confs/0244
test/confs/0245
test/confs/0246
test/confs/0247
test/confs/0248
test/confs/0249
test/confs/0250
test/confs/0251
test/confs/0252
test/confs/0253
test/confs/0254
test/confs/0255
test/confs/0256
test/confs/0257
test/confs/0258
test/confs/0259
test/confs/0260
test/confs/0261
test/confs/0262
test/confs/0263
test/confs/0264
test/confs/0265
test/confs/0266
test/confs/0267
test/confs/0268
test/confs/0269
test/confs/0270
test/confs/0271
test/confs/0272
test/confs/0273
test/confs/0274
test/confs/0275
test/confs/0276
test/confs/0277
test/confs/0278
test/confs/0279
test/confs/0280
test/confs/0281
test/confs/0282
test/confs/0283
test/confs/0284
test/confs/0285
test/confs/0286
test/confs/0287
test/confs/0288
test/confs/0289
test/confs/0290
test/confs/0291
test/confs/0292
test/confs/0293
test/confs/0294
test/confs/0295
test/confs/0296
test/confs/0297
test/confs/0298
test/confs/0299
test/confs/0300
test/confs/0301
test/confs/0302
test/confs/0303
test/confs/0304
test/confs/0305
test/confs/0306
test/confs/0307
test/confs/0308
test/confs/0309
test/confs/0310
test/confs/0311
test/confs/0312
test/confs/0313
test/confs/0314
test/confs/0315
test/confs/0316
test/confs/0317
test/confs/0318
test/confs/0319
test/confs/0320
test/confs/0321
test/confs/0322
test/confs/0323
test/confs/0324
test/confs/0325
test/confs/0326
test/confs/0327
test/confs/0328
test/confs/0329
test/confs/0330
test/confs/0331
test/confs/0332
test/confs/0333
test/confs/0334
test/confs/0335
test/confs/0336
test/confs/0337
test/confs/0338
test/confs/0339
test/confs/0340
test/confs/0341
test/confs/0342
test/confs/0343
test/confs/0344
test/confs/0345
test/confs/0346
test/confs/0347
test/confs/0348
test/confs/0349
test/confs/0350
test/confs/0351
test/confs/0352
test/confs/0353
test/confs/0354
test/confs/0355
test/confs/0356
test/confs/0357
test/confs/0358
test/confs/0359
test/confs/0360
test/confs/0361
test/confs/0362
test/confs/0363
test/confs/0364
test/confs/0365
test/confs/0366
test/confs/0367
test/confs/0368
test/confs/0369
test/confs/0370
test/confs/0371
test/confs/0372
test/confs/0373
test/confs/0374
test/confs/0375
test/confs/0376
test/confs/0377
test/confs/0378
test/confs/0379
test/confs/0380
test/confs/0381
test/confs/0382
test/confs/0383
test/confs/0384
test/confs/0385
test/confs/0386
test/confs/0387
test/confs/0388
test/confs/0389
test/confs/0390
test/confs/0391
test/confs/0392
test/confs/0393
test/confs/0394
test/confs/0395
test/confs/0396
test/confs/0397
test/confs/0398
test/confs/0399
test/confs/0400
test/confs/0401
test/confs/0402
test/confs/0403
test/confs/0404
test/confs/0405
test/confs/0406
test/confs/0407
test/confs/0408
test/confs/0409
test/confs/0410
test/confs/0411
test/confs/0412
test/confs/0413
test/confs/0414
test/confs/0415
test/confs/0416
test/confs/0417
test/confs/0418
test/confs/0419
test/confs/0420
test/confs/0421
test/confs/0422
test/confs/0423
test/confs/0424
test/confs/0425
test/confs/0426
test/confs/0427
test/confs/0428
test/confs/0429
test/confs/0430
test/confs/0431
test/confs/0432
test/confs/0433
test/confs/0434
test/confs/0435
test/confs/0436
test/confs/0437
test/confs/0438
test/confs/0439
test/confs/0440
test/confs/0441
test/confs/0442
test/confs/0443
test/confs/0444
test/confs/0445
test/confs/0446
test/confs/0447
test/confs/0448
test/confs/0449
test/confs/0450
test/confs/0451
test/confs/0452
test/confs/0453
test/confs/0454
test/confs/0455
test/confs/0456
test/confs/0457
test/confs/0458
test/confs/0459
test/confs/0460
test/confs/0461
test/confs/0462
test/confs/0463
test/confs/0464
test/confs/0465
test/confs/0466
test/confs/0467
test/confs/0468
test/confs/0469
test/confs/0470
test/confs/0471
test/confs/0472
test/confs/0473
test/confs/0474
test/confs/0475
test/confs/0476
test/confs/0477
test/confs/0478
test/confs/0479
test/confs/0480
test/confs/0481
test/confs/0482
test/confs/0483
test/confs/0484
test/confs/0485
test/confs/0486
test/confs/0487
test/confs/0488
test/confs/0489
test/confs/0490
test/confs/0491
test/confs/0492
test/confs/0493
test/confs/0494
test/confs/0495
test/confs/0496
test/confs/0497
test/confs/0498
test/confs/0499
test/confs/0500
test/confs/0501
test/confs/0502
test/confs/0503
test/confs/0504
test/confs/0505
test/confs/0506
test/confs/0507
test/confs/0508
test/confs/0509
test/confs/0510
test/confs/0511
test/confs/0512
test/confs/0513
test/confs/0514
test/confs/0515
test/confs/0516
test/confs/0517
test/confs/0518
test/confs/0519
test/confs/0520
test/confs/0521
test/confs/0522
test/confs/0523
test/confs/0524
test/confs/0525
test/confs/0526
test/confs/0527
test/confs/0528
test/confs/0529
test/confs/0530
test/confs/0531
test/confs/0532
test/confs/0533
test/confs/0534
test/confs/0535
test/confs/0536
test/confs/0537
test/confs/0538
test/confs/0539
test/confs/0540
test/confs/0541
test/confs/0542
test/confs/0543
test/confs/0544
test/confs/0545
test/confs/0546
test/confs/0547
test/confs/0548
test/confs/0549
test/confs/0550
test/confs/0551
test/confs/0552
test/confs/0553
test/confs/0554
test/confs/0555
test/confs/0556
test/confs/0557
test/confs/0558
test/confs/0559
test/confs/0560
test/confs/0561
test/confs/0562
test/confs/0563
test/confs/0564
test/confs/0565
test/confs/0566
test/confs/0567
test/confs/0569
test/confs/0570
test/confs/0571
test/confs/0572
test/confs/0573
test/confs/0600
test/confs/0601
test/confs/0602
test/confs/0603
test/confs/0604
test/confs/0605
test/confs/0606
test/confs/0607
test/confs/0608
test/confs/0609
test/confs/0610
test/confs/0611
test/confs/0612
test/confs/0613
test/confs/0614
test/confs/0615 [new file with mode: 0644]
test/confs/0616 [new file with mode: 0644]
test/confs/1000
test/confs/1001
test/confs/1002
test/confs/1003
test/confs/1005
test/confs/1006
test/confs/1007
test/confs/1008
test/confs/1009
test/confs/1010
test/confs/2000
test/confs/2001
test/confs/2002
test/confs/2003
test/confs/2004
test/confs/2005
test/confs/2006
test/confs/2007
test/confs/2008
test/confs/2009
test/confs/2010
test/confs/2012
test/confs/2013
test/confs/2014
test/confs/2015
test/confs/2016
test/confs/2017
test/confs/2018
test/confs/2019
test/confs/2020
test/confs/2021
test/confs/2022
test/confs/2023
test/confs/2024
test/confs/2025
test/confs/2026
test/confs/2027
test/confs/2028
test/confs/2029
test/confs/2030
test/confs/2031
test/confs/2032
test/confs/2033
test/confs/2100
test/confs/2101
test/confs/2102
test/confs/2103
test/confs/2104
test/confs/2105
test/confs/2106
test/confs/2107
test/confs/2108
test/confs/2109
test/confs/2110
test/confs/2111
test/confs/2112
test/confs/2113
test/confs/2114
test/confs/2115
test/confs/2116
test/confs/2117
test/confs/2118
test/confs/2119
test/confs/2120
test/confs/2121
test/confs/2122
test/confs/2123
test/confs/2124
test/confs/2125
test/confs/2126
test/confs/2127
test/confs/2128
test/confs/2130
test/confs/2131
test/confs/2132
test/confs/2133
test/confs/2149
test/confs/2150
test/confs/2200
test/confs/2201
test/confs/2202
test/confs/2250
test/confs/2300
test/confs/2400
test/confs/2500
test/confs/2501
test/confs/2600
test/confs/2700
test/confs/3000
test/confs/3100
test/confs/3200
test/confs/3201
test/confs/3202
test/confs/3203
test/confs/3204
test/confs/3205
test/confs/3206
test/confs/3207
test/confs/3208
test/confs/3209
test/confs/3210
test/confs/3211
test/confs/3212
test/confs/3213
test/confs/3300
test/confs/3400
test/confs/3401
test/confs/3402
test/confs/3403
test/confs/3404
test/confs/3405
test/confs/3406
test/confs/3407
test/confs/3408
test/confs/3409
test/confs/3410
test/confs/3411
test/confs/3412
test/confs/3413
test/confs/3414
test/confs/3415
test/confs/3416
test/confs/3450
test/confs/3451
test/confs/3452
test/confs/3453
test/confs/3454
test/confs/3455
test/confs/3460
test/confs/3461
test/confs/3462
test/confs/3463
test/confs/3464
test/confs/3465
test/confs/3500
test/confs/3501
test/confs/3600
test/confs/3700
test/confs/4000
test/confs/4001
test/confs/4002
test/confs/4003
test/confs/4004
test/confs/4005
test/confs/4006
test/confs/4007
test/confs/4008
test/confs/4009
test/confs/4010
test/confs/4020
test/confs/4028
test/confs/4029
test/confs/4100
test/confs/4200
test/confs/4201
test/confs/4211
test/confs/4221
test/confs/4500
test/confs/4503
test/confs/4700
test/confs/4800
test/confs/4801
test/confs/4802
test/confs/4803
test/confs/4950
test/confs/5000
test/confs/5001
test/confs/5002
test/confs/5003
test/confs/5004
test/confs/5005
test/confs/5006
test/confs/5007
test/confs/5008
test/confs/5009
test/confs/5050
test/confs/5100
test/confs/5101
test/confs/5102
test/confs/5103
test/confs/5200
test/confs/5201
test/confs/5202
test/confs/5203
test/confs/5204
test/confs/5205
test/confs/5206
test/confs/5207
test/confs/5208
test/confs/5209
test/confs/5300
test/confs/5301
test/confs/5400
test/confs/5401
test/confs/5410
test/confs/5420
test/confs/5500
test/confs/5510
test/confs/5600
test/confs/5601
test/confs/5650
test/confs/5651
test/confs/5700
test/confs/5710
test/confs/5720
test/confs/5730
test/confs/5740
test/confs/5800
test/confs/5820
test/confs/5840
test/confs/5860
test/confs/9000
test/confs/9001
test/confs/9100
test/confs/9200
test/confs/9300
test/confs/9350
test/confs/9400
test/confs/9401
test/confs/9402
test/confs/9450
test/confs/9900
test/confs/9901
test/confs/9902
test/confs/9903
test/paniclog/0013
test/paniclog/0148
test/paniclog/0236
test/paniclog/0290
test/paniclog/0348
test/paniclog/0415
test/paniclog/0442
test/runtest
test/scripts/0000-Basic/0615 [new file with mode: 0644]
test/scripts/0000-Basic/0616 [new symlink]
test/stderr/0002
test/stderr/0013
test/stderr/0148
test/stderr/0236
test/stderr/0290
test/stderr/0348
test/stderr/0415
test/stderr/0442
test/stderr/0615 [new file with mode: 0644]
test/stdout/0572
test/stdout/0615 [new file with mode: 0644]
test/stdout/0616 [new file with mode: 0644]