warning from openssl-3.1.0-beta1 with Coverty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is this a known tangle?

In file included from ../../tests/common/tests_main.c:3:
In file included from ../../tests/common/tests_main.h:10:
In file included from ../../include/ntp_auth.h:7:
In file included from /usr/local/ssl/include/openssl/evp.h:30:
In file included from /usr/local/ssl/include/openssl/bio.h:30:
/usr/local/ssl/include/openssl/crypto.h:344:1: warning: unknown attribute 
'unity
_malloc' ignored [-Wunknown-attributes]
OSSL_CRYPTO_ALLOC void *CRYPTO_malloc(size_t num, const char *file, int line);
^~~~~~~~~~~~~~~~~
/usr/local/ssl/include/openssl/macros.h:317:45: note: expanded from macro 
'OSSL_
CRYPTO_ALLOC'
#   define OSSL_CRYPTO_ALLOC __attribute__((malloc))
                                            ^~~~~~
../../tests/unity/unity_memory.h:41:17: note: expanded from macro 'malloc'
#define malloc  unity_malloc
                ^~~~~~~~~~~~

There are 7 copies of that from lines 344-348 and 357-358 in crypto.h

This is from building NTPsec on FreeBSD
FreeBSD clang version 13.0.0 (git@xxxxxxxxxx:llvm/llvm-project.git 
llvmorg-13.0.0-0-gd7b669b3a303)


-- 
These are my opinions.  I hate spam.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux