hostapd/src/tls
Jouni Malinen d2eb91e08f TLS: Avoid undefined behavior in pointer arithmetic
Reorder terms in a way that no invalid pointers are generated with
pos+len operations. end-pos is always defined (with a valid pos pointer)
while pos+len could end up pointing beyond the end pointer which would
be undefined behavior.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-25 15:34:59 +02:00
..
.gitignore Add rules for building src/tls/libtls.a and use it with eap_example 2009-12-06 16:27:54 +02:00
asn1.c Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
asn1.h RSA: Add OID definitions and helper function for hash algorithms 2014-05-19 23:27:30 +03:00
bignum.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
bignum.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
libtommath.c libtommath: Fix mp_init_multi() stdarg use on error path 2015-06-23 20:39:08 +03:00
Makefile Include TLS v1.1 and v1.2 support in library build 2011-11-27 22:08:29 +02:00
pkcs1.c TLS: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
pkcs1.h PKCS 1: Add function for checking v1.5 RSA signature 2014-05-20 19:52:18 +03:00
pkcs5.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs5.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs8.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs8.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
rsa.c Add function for building RSA public key from n and e parameters 2014-05-19 23:27:30 +03:00
rsa.h Add function for building RSA public key from n and e parameters 2014-05-19 23:27:30 +03:00
tlsv1_client.c Rename tls_connection_get_keys() to tls_connection_get_random() 2015-08-02 16:52:56 +03:00
tlsv1_client.h Rename tls_connection_get_keys() to tls_connection_get_random() 2015-08-02 16:52:56 +03:00
tlsv1_client_i.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_client_read.c TLS client: Check DH parameters using a local variable 2014-11-23 17:48:34 +02:00
tlsv1_client_write.c TLS: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
tlsv1_common.c TLS: Remove placeholders for SIGN_ALG_DSA support 2015-02-28 15:45:16 +02:00
tlsv1_common.h TLS: Share a helper function for verifying Signature 2014-03-09 17:11:58 +02:00
tlsv1_cred.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_cred.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_record.c TLS: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
tlsv1_record.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_server.c Rename tls_connection_get_keys() to tls_connection_get_random() 2015-08-02 16:52:56 +03:00
tlsv1_server.h Rename tls_connection_get_keys() to tls_connection_get_random() 2015-08-02 16:52:56 +03:00
tlsv1_server_i.h TLS testing: Add new test cases for RSA-DHE primes 2014-03-16 12:43:49 +02:00
tlsv1_server_read.c TLS: Remove placeholders for SIGN_ALG_DSA support 2015-02-28 15:45:16 +02:00
tlsv1_server_write.c TLS: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
x509v3.c TLS: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
x509v3.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00