mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
9c6777c03c
DESCRIPTION =========== PVS-Studio static code analyzer found several suspicious fragments of code across various files. i) sizeof() is using the pointer ii) memcpy() doesn't copy the whole string. iii) enumeration constant 'wkb_multilinestring' is used as a variable of a Boolean-type. iv) 'throw' keyword is missing from std::runtime_error() FIX === i) Use sizeof({actual object/data type}) ii) Use strncpy() and set last char as '\0' iii) N/A (Issue has already been fixed) iv) Add 'throw' before the exception. RB: 21502 |
||
---|---|---|
.. | ||
audit_null | ||
auth_dialog | ||
auth_examples | ||
auth_pam | ||
auth_socket | ||
daemon_example | ||
feedback | ||
fulltext | ||
handler_socket | ||
qc_info | ||
semisync | ||
server_audit | ||
sql_errlog | ||
win_auth_client |