[gnutls-devel] GnuTLS | .gitlab-ci.yml: switch to Fedora 38 images (!1747)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Jun 7 11:29:19 CEST 2023
Daiki Ueno commented on a discussion on src/serv.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1747#note_1421581734
> return GNUTLS_E_MEMORY_ERROR;
> cache_db[i].session_data.data = ptr;
> }
> - memcpy(cache_db[i].session_data.data, data.data, data.size);
> + if (data.size > 0) {
This is to suppress a new warning from clang-analyzer:
```console
serv.c:2069:2: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker]
memcpy(cache_db[i].session_data.data, data.data, data.size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1747#note_1421581734
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/20230607/105304c1/attachment.html>
More information about the Gnutls-devel
mailing list