mbed TLS upgraded to 2.6.0
Fork of mbedtls by
scripts/find-mem-leak.cocci@1:9ebc941037d5, 2017-09-29 (annotated)
- Committer:
- Jasper Wallace
- Date:
- Fri Sep 29 18:41:59 2017 +0100
- Revision:
- 1:9ebc941037d5
Update to mbedtls 2.4.2, security fixes
Changes to mbedtls sources made:
in include/mbedtls/config.h comment out:
#define MBEDTLS_FS_IO
#define MBEDTLS_NET_C
#define MBEDTLS_TIMING_C
uncomment:
#define MBEDTLS_NO_PLATFORM_ENTROPY
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jasper Wallace |
1:9ebc941037d5 | 1 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 2 | expression x, y; |
Jasper Wallace |
1:9ebc941037d5 | 3 | statement S; |
Jasper Wallace |
1:9ebc941037d5 | 4 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 5 | x = mbedtls_malloc(...); |
Jasper Wallace |
1:9ebc941037d5 | 6 | y = mbedtls_malloc(...); |
Jasper Wallace |
1:9ebc941037d5 | 7 | ... |
Jasper Wallace |
1:9ebc941037d5 | 8 | * if (x == NULL || y == NULL) |
Jasper Wallace |
1:9ebc941037d5 | 9 | S |
Jasper Wallace |
1:9ebc941037d5 | 10 | |
Jasper Wallace |
1:9ebc941037d5 | 11 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 12 | expression x, y; |
Jasper Wallace |
1:9ebc941037d5 | 13 | statement S; |
Jasper Wallace |
1:9ebc941037d5 | 14 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 15 | if ( |
Jasper Wallace |
1:9ebc941037d5 | 16 | * (x = mbedtls_malloc(...)) == NULL |
Jasper Wallace |
1:9ebc941037d5 | 17 | || |
Jasper Wallace |
1:9ebc941037d5 | 18 | * (y = mbedtls_malloc(...)) == NULL |
Jasper Wallace |
1:9ebc941037d5 | 19 | ) |
Jasper Wallace |
1:9ebc941037d5 | 20 | S |