diff options
author | Anel Husakovic <anel@mariadb.org> | 2023-02-04 22:10:49 +0100 |
---|---|---|
committer | Andrew Hutchings <andrew@linuxjedi.co.uk> | 2023-02-17 13:43:43 +0000 |
commit | 560c15c44be665e5d73194d84411c69acf8606a1 (patch) | |
tree | 6ad4d73c23ae1471f28bfcac9bc19d80fd6aaf3a /client/mysql_upgrade.c | |
parent | 9ab16e7f3e3d9fe5980605464e91e6f3da30cbc1 (diff) | |
download | mariadb-git-560c15c44be665e5d73194d84411c69acf8606a1.tar.gz |
MDBF-534: Coverity scan: fix client folder
---------------------------------
File: `mysql`
---------------------------------
- Coverity (RESOURCE_LEAK):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53073025&mergedDefectId=1520090&eventId=53073025-15
`mysql`: memory allocated by `mysql_fetch_row` is not freed.
- FALSE POSITIVES:
- Coverity (TAINTED_SCALAR):
- https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53074559&mergedDefectId=1520403
- Coverity (COPY_PASTE_ERROR):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53074521&mergedDefectId=1520300
- Coverity (STRING_NULL):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53072524&mergedDefectId=1519374
- Coverity (CHECKED_RETURN):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53074932&mergedDefectId=971708
- INTENTIONAL:
- Coverity (UNINIT):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53074758&mergedDefectId=1519932
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53073939&mergedDefectId=1519738
- Coverity(BAD_FREE):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53073938&mergedDefectId=1519491
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728394&defectInstanceId=53074819&mergedDefectId=1519462
---------------------------------
File: `mysql_plugin`
---------------------------------
- Coverity (FORWARD_NULL):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728420&defectInstanceId=53074485&mergedDefectId=971915
Dereference after null check when using `fclose`.
- FALSE POSITIVES:
- Coverity (STRING_OVERFLOW):
https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728420&defectInstanceId=53075014&mergedDefectId=972410
- Additionally fix typo
Diffstat (limited to 'client/mysql_upgrade.c')
0 files changed, 0 insertions, 0 deletions