[gnutls-devel] GnuTLS | Avoid abort() in lib/system/fastopen.c (#603)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Nov 2 16:14:05 CET 2018


New Issue was created.

Issue 603: https://gitlab.com/gnutls/gnutls/issues/603
Author:    Tim Rühsen
Assignee:  

Can we have a simple `return` (do nothing) instead of `abort()` in gnutls_transport_set_fastopen() ?
```
	if (connect_addrlen > (socklen_t)sizeof(session->internals.tfo.connect_addr)) {
		gnutls_assert();
		abort();
	}
```

Because in production library code I wouldn't expect an abort(). Better having an error returned or a no-op.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/603
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181102/85cd3aa2/attachment.html>


More information about the Gnutls-devel mailing list