/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:125: warning: uninitvar(CWE-457): Uninitialized variable: succeeded <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:418: warning: uninitvar(CWE-457): Uninitialized variable: succeeded <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/magnetic_spacegroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/hall_symbol.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:135: error: uninitvar(CWE-457): Uninitialized variable: p <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c: In function ‘cel_free_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: warning: use of uninitialized value ‘*cell.position’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:80:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:114:5: note: (15) calling ‘cel_free_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (16) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (17) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: note: (21) use of uninitialized value ‘*cell.position’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:18: warning: use of uninitialized value ‘*cell.tensor_rank’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:83:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:87:8: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:66: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:8: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:92:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:114:5: note: (19) calling ‘cel_free_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (20) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (21) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (23) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:122:13: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:12: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:17: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:12: note: (27) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:130:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:18: note: (29) use of uninitialized value ‘*cell.tensor_rank’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: warning: use of uninitialized value ‘*cell.tensors’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:83:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:87:8: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:66: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:8: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:95:23: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:96:8: note: (19) following ‘false’ branch (when ‘tensor_rank != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:102:8: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:102:8: note: (21) following ‘false’ branch (when ‘tensor_rank != 1’)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (23) returning to ‘trim_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:377:8: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:382:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:382:8: note: (26) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:384:9: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:385:9: note: (28) calling ‘cel_free_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (29) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (30) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (32) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:122:13: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:12: note: (34) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:126:13: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:12: note: (36) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:130:13: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:12: note: (38) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: note: (40) use of uninitialized value ‘*cell.tensors’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c: In function ‘get_metric’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: warning: leak of ‘get_transpose(M)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:522:16: note: (1) entry to ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:16: note: (2) calling ‘get_transpose’ from ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:502:16: note: (3) entry to ‘get_transpose’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:26: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:8: note: (5) assuming ‘M_T’ is non-NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:8: note: (6) following ‘false’ branch (when ‘M_T’ is non-NULL)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:513:19: note: (8) following ‘true’ branch (when ‘i != 3’)... <--[gcc]
cc1: note: (9) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:514:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:16: note: (12) returning to ‘get_metric’ from ‘get_transpose’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (15) calling ‘multiply_matrices’ from ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:541:16: note: (16) entry to ‘multiply_matrices’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:547:8: note: (17) following ‘true’ branch (when ‘M’ is NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:548:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (19) returning to ‘get_metric’ from ‘multiply_matrices’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: note: (20) ‘get_transpose(M)’ leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c: In function ‘get_point_group_reciprocal_with_q’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:388:61: warning: dereference of NULL ‘rot_reciprocal’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:182:8: note: (1) entry to ‘kpt_get_dense_stabilized_reciprocal_mesh’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:195:24: note: (2) calling ‘get_point_group_reciprocal_with_q’ from ‘kpt_get_dense_stabilized_reciprocal_mesh’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:373:16: note: (3) entry to ‘get_point_group_reciprocal_with_q’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:388:61: note: (4) dereference of NULL ‘rot_reciprocal’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:408: warning: uninitvar(CWE-457): Uninitialized variables: pointgroup.holohedry, pointgroup.laue <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/refinement.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c: In function ‘overlap_checker_alloc’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:530:25: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:479:24: note: (1) entry to ‘overlap_checker_alloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:504:8: note: (2) following ‘false’ branch (when ‘checker’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:26: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:26: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:8: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (7) calling ‘perm_argsort_work_malloc’ from ‘overlap_checker_alloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:395:14: note: (8) entry to ‘perm_argsort_work_malloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:400:8: note: (9) following ‘false’ branch (when ‘work’ is non-NULL)... <--[gcc]
cc1: note: (10) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (11) returning to ‘overlap_checker_alloc’ from ‘perm_argsort_work_malloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:524:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:530:25: note: (14) assigned to ‘double (*)[3]’ here; ‘sizeof (double[3])’ is ‘24’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1249: error: negativeIndex(CWE-786): Array 'all_origin_shifts[36][3]' accessed at index -1, which is out of bounds. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1250: error: negativeIndex(CWE-786): Array 'all_conv_lattices[36][3][3]' accessed at index -1, which is out of bounds. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c: In function ‘set_Wyckoffs_labels’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:29: warning: dereference of possibly-NULL ‘nums_equiv_atoms’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:370:31: note: (1) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:371:19: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:25: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:29: note: (4) ‘nums_equiv_atoms + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c: In function ‘get_primitive_in_translation_space’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:686:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:643:12: note: (1) entry to ‘get_primitive_in_translation_space’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:654:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:658:46: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:659:8: note: (4) following ‘false’ branch... <--[gcc]
cc1: note: (5) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:672:19: note: (6) following ‘true’ branch (when ‘i != 3’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:673:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:674:16: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:674:16: note: (10) following ‘true’ branch (when ‘i == j’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:675:21: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:682:17: note: (12) calling ‘get_primitive’ from ‘get_primitive_in_translation_space’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:250:19: note: (13) entry to ‘get_primitive’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:262:8: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:263:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:682:17: note: (16) returning to ‘get_primitive_in_translation_space’ from ‘get_primitive’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:686:18: note: (17) dereference of NULL ‘get_primitive(cel_alloc_cell(*pure_trans.size, -1), symprec, -1.0e+0)’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:212: error: memleak(CWE-401): Memory leak: inv_perm <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:220: error: memleak(CWE-401): Memory leak: inv_perm <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c: In function ‘match_hall_symbol_db_monocli’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1146:51: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1146 |     int i, check_norms, i_shortest, is_found_any, j, num_change_of_basis;
      |                                                   ^
In function ‘match_hall_symbol_db’,
    inlined from ‘search_hall_number’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:899:13:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1094:17: warning: ‘num_free_axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1094 |             if (match_hall_symbol_db_ortho(origin_shift, conv_lattice,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1095 |                                            orig_lattice, hall_number, centering,
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1096 |                                            symmetry, num_free_axes, symprec)) {
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c: In function ‘search_hall_number’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1026:19: note: ‘num_free_axes’ was declared here <--[gcc]
 1026 |     int is_found, num_free_axes;
      |                   ^~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spglib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spglib.c:248: error: arrayIndexOutOfBounds(CWE-788): Array 'spglib_error_message[10]' accessed at index 99, which is out of bounds. <--[cppcheck]
In function ‘get_symmetry_permutations’,
    inlined from ‘spn_get_operations_with_site_tensors’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:116:26:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: warning: ‘scalar’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  614 |                     !is_zero(cell->tensors[j] - scalar, mag_symprec)) {
      |                              ~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘spn_get_operations_with_site_tensors’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: ‘scalar’ was declared here <--[gcc]
  563 |     double scalar;
      |            ^~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘spn_get_idealized_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:246:15: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:192:7: note: (1) entry to ‘spn_get_idealized_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:207:28: note: (2) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:207:8: note: (3) following ‘false’ branch (when ‘inv_perm’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:211:23: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:211:8: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:214:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:218:8: note: (7) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:52: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:5: note: (9) calling ‘set_rotations_in_cartesian’ from ‘spn_get_idealized_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (10) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:797:1: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:5: note: (13) returning to ‘spn_get_idealized_cell’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:225:19: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:226:36: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:229:23: note: (16) following ‘true’ branch (when ‘s != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:230:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:240:23: note: (18) following ‘true’ branch... <--[gcc]
cc1: note: (19) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:246:15: note: (20) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘get_symmetry_permutations’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: warning: use of uninitialized value ‘scalar’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:556:13: note: (1) entry to ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: (3) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:570:8: note: (4) following ‘false’ branch (when ‘permutations’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:577:35: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:576:8: note: (6) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:52: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (8) calling ‘set_rotations_in_cartesian’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (9) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:793:69: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (12) returning to ‘get_symmetry_permutations’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:585:19: note: (13) following ‘true’ branch... <--[gcc]
cc1: note: (14) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:586:23: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:587:28: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (17) calling ‘apply_symmetry_to_position’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:729:13: note: (18) entry to ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (19) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (21) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (23) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (25) following ‘false’ branch (when ‘k == 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:738:1: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (27) returning to ‘get_symmetry_permutations’ from ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:593:16: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (30) following ‘false’ branch... <--[gcc]
cc1: note: (31) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:605:27: note: (32) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:608:29: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:606:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:612:47: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:613:20: note: (36) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:43: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: note: (38) use of uninitialized value ‘scalar’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:60: warning: use of uninitialized value ‘vector[0]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:556:13: note: (1) entry to ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:564:20: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:570:8: note: (3) following ‘false’ branch (when ‘permutations’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:577:35: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:576:8: note: (5) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:52: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (7) calling ‘set_rotations_in_cartesian’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (8) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:793:69: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (11) returning to ‘get_symmetry_permutations’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:585:19: note: (12) following ‘true’ branch... <--[gcc]
cc1: note: (13) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:586:23: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:587:28: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (16) calling ‘apply_symmetry_to_position’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:729:13: note: (17) entry to ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (18) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (20) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (22) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (24) following ‘false’ branch (when ‘k == 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:738:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (26) returning to ‘get_symmetry_permutations’ from ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:593:16: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (29) following ‘false’ branch... <--[gcc]
cc1: note: (30) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:605:27: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:608:29: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:606:20: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:612:47: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:613:20: note: (35) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:617:25: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:617:20: note: (37) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:35: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:60: note: (39) use of uninitialized value ‘vector[0]’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c: In function ‘search_layer_pure_translations’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:29: warning: dereference of possibly-NULL ‘copy_atoms_found’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (1) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:799:19: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:42: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:29: note: (4) ‘copy_atoms_found + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:733:12: note: (1) entry to ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:745:8: note: (2) following ‘false’ branch... <--[gcc]
cc1: note: (3) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (12) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:766:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:768:19: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:772:30: note: (16) calling ‘search_layer_pure_translations’ from ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:788:12: note: (17) entry to ‘search_layer_pure_translations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (18) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: note: (19) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: warning: dereference of possibly-NULL ‘copy_atoms_found’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:733:12: note: (1) entry to ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:745:8: note: (2) following ‘false’ branch... <--[gcc]
cc1: note: (3) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (12) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:766:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:768:19: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:772:30: note: (16) calling ‘search_layer_pure_translations’ from ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:788:12: note: (17) entry to ‘search_layer_pure_translations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (18) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: note: (19) ‘copy_atoms_found + (long unsigned int)initial_atom * 4’ could be NULL: unchecked value from (18) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c: In function ‘sub_spg_standardize_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:159:16: warning: dereference of possibly-NULL ‘typ’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:147:18: note: (1) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:149:19: note: (2) following ‘true’ branch (when ‘i != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:150:28: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:155:19: note: (4) following ‘true’ branch (when ‘i < num_atom’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:156:29: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/utils.c:159:16: note: (6) ‘typ + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of NULL ‘arg’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (12) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (13) assuming ‘new_string’ is NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (14) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (15) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (16) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (19) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (20) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (21) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (23) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (24) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (26) argument 2 (‘arg’) NULL where non-null expected <--[gcc]
<built-in>: note: argument 2 of ‘__builtin_strstr’ must be non-null
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (12) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (13) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (14) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (17) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (18) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (19) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (20) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (21) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (22) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (23) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (25) while looking for null terminator for argument 1 (‘<unknown>’) of ‘strstr’... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (26) use of uninitialized value ‘*<unknown>’ here <--[gcc]
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:4: <--[gcc]
/usr/include/string.h:350:14: note: argument 1 of ‘strstr’ must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of uninitialized value ‘*arg’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (12) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (13) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (14) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (15) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (16) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (18) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (19) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (20) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (21) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (22) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (23) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (25) while looking for null terminator for argument 2 (‘arg’) of ‘strstr’... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (26) use of uninitialized value ‘*arg’ here <--[gcc]
/usr/include/string.h:350:14: note: argument 2 of ‘strstr’ must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of NULL ‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (12) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (13) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (14) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (17) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (18) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (20) assuming ‘new_string’ is NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (21) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (23) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (24) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (26) argument 1 (‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’) NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (12) following ‘false’ branch (when ‘new_string’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:107:3: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (14) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (17) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (18) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (19) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (20) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (21) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (22) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (23) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (25) while looking for null terminator for argument 1 (‘<unknown>’) of ‘strstr’... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (26) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/usr/include/string.h:350:14: note: argument 1 of ‘strstr’ must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (12) following ‘false’ branch (when ‘new_string’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:107:3: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:108:27: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:109:24: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:108:27: note: (16) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:109:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:108:27: note: (18) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:109:24: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (20) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (21) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (23) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (24) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (25) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (26) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (27) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (28) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (29) following ‘true’ branch (when ‘partial_match != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (31) while looking for null terminator for argument 1 (‘<unknown>’) of ‘strstr’... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:31: note: (32) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/usr/include/string.h:350:14: note: argument 1 of ‘strstr’ must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: warning: use of NULL ‘arg’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (12) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (13) assuming ‘new_string’ is NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (14) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (15) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (16) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (19) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (20) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (21) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (23) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (24) following ‘false’ branch (when ‘partial_match == 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: note: (26) argument 2 (‘arg’) NULL where non-null expected <--[gcc]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: warning: use of NULL ‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:127:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:164:6: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:165:22: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:168:6: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:172:6: note: (6) following ‘false’ branch (when ‘run_all != 1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:200:6: note: (8) following ‘true’ branch (when ‘testToRun == -1’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:26: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (10) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (11) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (12) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (13) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:201:11: note: (14) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:203:28: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:68: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (17) calling ‘lowercase’ from ‘main’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:95:16: note: (18) entry to ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:102:31: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:35:38: note: in definition of macro ‘CM_CAST’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (20) assuming ‘new_string’ is NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:104:6: note: (21) following ‘true’ branch (when ‘new_string’ is NULL)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:204:23: note: (23) returning to ‘main’ from ‘lowercase’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:205:8: note: (24) following ‘false’ branch (when ‘partial_match == 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/redhat-linux-build/test/functional/fortran/fortran_test.c:209:38: note: (26) argument 1 (‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’) NULL where non-null expected <--[gcc]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_spacegroup_type_search.cpp: In member function ‘virtual void SpacegroupTypeSearch_test_spg_get_international_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_spacegroup_type_search.cpp:20:30: warning: ‘int spg_get_international(char*, const double (*)[3], const double (*)[3], const int*, int, double)’ is deprecated: Use the variables from SpglibDataset (spacegroup_number, international_symbol) [-Wdeprecated-declarations] <--[g++]
   20 |         spg_get_international(symbol, lattice, position, types, num_atom, 1e-5);
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_spacegroup_type_search.cpp:4: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:398:13: note: declared here <--[g++]
  398 | SPG_API int spg_get_international(char symbol[11], double const lattice[3][3],
      |             ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_spacegroup_type_search.cpp: In member function ‘virtual void SpacegroupTypeSearch_test_spg_get_schoenflies_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_spacegroup_type_search.cpp:38:28: warning: ‘int spg_get_schoenflies(char*, const double (*)[3], const double (*)[3], const int*, int, double)’ is deprecated: Use the variables from SpglibDataset (spacegroup_number, international_symbol) [-Wdeprecated-declarations] <--[g++]
   38 |         spg_get_schoenflies(symbol, lattice, position, types, num_atom, 1e-5);
      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:414:13: note: declared here <--[g++]
  414 | SPG_API int spg_get_schoenflies(char symbol[7], double const lattice[3][3],
      |             ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_symmetry_search.cpp: In member function ‘virtual void SymmetrySearch_test_spg_get_symmetry_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_symmetry_search.cpp:33:28: warning: ‘int spg_get_symmetry(int (*)[3][3], double (*)[3], int, const double (*)[3], const double (*)[3], const int*, int, double)’ is deprecated: Use the variables from SpglibDataset (rotations, translations) [-Wdeprecated-declarations] <--[g++]
   33 |     size = spg_get_symmetry(rotation, translation, max_size, lattice, position,
      |            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   34 |                             types, num_atom, 1e-5);
      |                             ~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_symmetry_search.cpp:4: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:278:13: note: declared here <--[g++]
  278 | SPG_API int spg_get_symmetry(int rotation[][3][3], double translation[][3],
      |             ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_symmetry_search.cpp: In member function ‘virtual void SymmetrySearch_test_spg_get_multiplicity_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_symmetry_search.cpp:81:32: warning: ‘int spg_get_multiplicity(const double (*)[3], const double (*)[3], const int*, int, double)’ is deprecated: Use the variables from SpglibDataset (n_operations) [-Wdeprecated-declarations] <--[g++]
   81 |     size = spg_get_multiplicity(lattice, position, types, num_atom, 1e-5);
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:384:13: note: declared here <--[g++]
  384 | SPG_API int spg_get_multiplicity(double const lattice[3][3],
      |             ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_dataset_access.cpp: In member function ‘virtual void DatasetAccess_test_spg_get_hall_number_from_symmetry_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_dataset_access.cpp:37:52: warning: ‘int spg_get_hall_number_from_symmetry(const int (*)[3][3], const double (*)[3], int, double)’ is deprecated: Use the variable from SpglibSpacegroupType instead (hall_number) [-Wdeprecated-declarations] <--[g++]
   37 |     hall_number = spg_get_hall_number_from_symmetry(
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
   38 |         dataset->rotations, dataset->translations, dataset->n_operations,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |         symprec);
      |         ~~~~~~~~                                    
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_dataset_access.cpp:4: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:357:13: note: declared here <--[g++]
  357 | SPG_API int spg_get_hall_number_from_symmetry(int const rotation[][3][3],
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_magnetic_symmetry.cpp: In member function ‘virtual void MagneticSymmetry_test_spg_get_symmetry_with_tensors_rough_symprec_Test::TestBody()’: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_magnetic_symmetry.cpp:224:28: warning: ‘int spg_get_symmetry(int (*)[3][3], double (*)[3], int, const double (*)[3], const double (*)[3], const int*, int, double)’ is deprecated: Use the variables from SpglibDataset (rotations, translations) [-Wdeprecated-declarations] <--[g++]
  224 |     size = spg_get_symmetry(rotations, translations, max_size, lattice,
      |            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  225 |                             positions, types, num_atoms, symprec);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/test/functional/c/test_magnetic_symmetry.cpp:4: <--[g++]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:278:13: note: declared here <--[g++]
  278 | SPG_API int spg_get_symmetry(int rotation[][3][3], double translation[][3],
      |             ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:125: warning: uninitvar(CWE-457): Uninitialized variable: succeeded <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/delaunay.c:418: warning: uninitvar(CWE-457): Uninitialized variable: succeeded <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:135: error: uninitvar(CWE-457): Uninitialized variable: p <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/hall_symbol.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:408: warning: uninitvar(CWE-457): Uninitialized variables: pointgroup.holohedry, pointgroup.laue <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/magnetic_spacegroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In function ‘set_transformation_matrix’,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:402:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:1038:46: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1038 |             tmat[i][j] = s[j] * rot_axes[axes[j] % NUM_ROT_AXES][i];
      |                                          ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘set_transformation_matrix’,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:402:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:1038:46: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1038 |             tmat[i][j] = s[j] * rot_axes[axes[j] % NUM_ROT_AXES][i];
      |                                          ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘layer_laue2m’,
    inlined from ‘get_axes’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:612:17,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:401:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:752:22: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  752 |     if (rot_axes[axes[0]][aperiodic_axis] == 1 ||
      |                  ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘layer_laue2m’,
    inlined from ‘get_axes’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:612:17,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:401:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:752:22: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  752 |     if (rot_axes[axes[0]][aperiodic_axis] == 1 ||
      |                  ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘layer_laue2m’,
    inlined from ‘get_axes’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:612:17,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:401:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:752:22: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  752 |     if (rot_axes[axes[0]][aperiodic_axis] == 1 ||
      |                  ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘set_transformation_matrix’,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:402:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:1038:46: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1038 |             tmat[i][j] = s[j] * rot_axes[axes[j] % NUM_ROT_AXES][i];
      |                                          ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘layer_laue2m’,
    inlined from ‘get_axes’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:612:17,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:401:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:752:22: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  752 |     if (rot_axes[axes[0]][aperiodic_axis] == 1 ||
      |                  ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘set_transformation_matrix’,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:402:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:1038:46: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1038 |             tmat[i][j] = s[j] * rot_axes[axes[j] % NUM_ROT_AXES][i];
      |                                          ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
In function ‘set_transformation_matrix’,
    inlined from ‘ptg_get_transformation_matrix’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:402:9:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:1038:46: warning: ‘axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1038 |             tmat[i][j] = s[j] * rot_axes[axes[j] % NUM_ROT_AXES][i];
      |                                          ~~~~^~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c: In function ‘ptg_get_transformation_matrix’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/pointgroup.c:382:9: note: ‘axes’ declared here <--[gcc]
  382 |     int axes[3];
      |         ^~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/refinement.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c: In function ‘cel_free_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: warning: use of uninitialized value ‘*cell.position’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:80:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:114:5: note: (15) calling ‘cel_free_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (16) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (17) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:17: note: (21) use of uninitialized value ‘*cell.position’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:18: warning: use of uninitialized value ‘*cell.tensor_rank’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:83:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:87:8: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:66: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:8: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:92:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:114:5: note: (19) calling ‘cel_free_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (20) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (21) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (23) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:122:13: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:12: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:17: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:12: note: (27) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:130:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:18: note: (29) use of uninitialized value ‘*cell.tensor_rank’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: warning: use of uninitialized value ‘*cell.tensors’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:343:14: note: (1) entry to ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:364:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:372:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (6) calling ‘cel_alloc_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:66:7: note: (7) entry to ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:71:8: note: (8) following ‘false’ branch (when ‘size > 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:25: note: (10) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:75:8: note: (11) following ‘false’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:40: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:79:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:83:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:87:8: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:66: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:90:8: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:95:23: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:96:8: note: (19) following ‘false’ branch (when ‘tensor_rank != 0’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:102:8: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:102:8: note: (21) following ‘false’ branch (when ‘tensor_rank != 1’)... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:378:14: note: (23) returning to ‘trim_cell’ from ‘cel_alloc_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:377:8: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:382:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:382:8: note: (26) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:384:9: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:385:9: note: (28) calling ‘cel_free_cell’ from ‘trim_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:119:6: note: (29) entry to ‘cel_free_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:120:8: note: (30) following ‘true’ branch (when ‘cell’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:17: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:121:12: note: (32) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:122:13: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:125:12: note: (34) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:126:13: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:129:12: note: (36) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:130:13: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:12: note: (38) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/cell.c:133:51: note: (40) use of uninitialized value ‘*cell.tensors’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c: In function ‘get_point_group_reciprocal_with_q’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:388:61: warning: dereference of NULL ‘rot_reciprocal’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:182:8: note: (1) entry to ‘kpt_get_dense_stabilized_reciprocal_mesh’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:195:24: note: (2) calling ‘get_point_group_reciprocal_with_q’ from ‘kpt_get_dense_stabilized_reciprocal_mesh’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:373:16: note: (3) entry to ‘get_point_group_reciprocal_with_q’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/kpoint.c:388:61: note: (4) dereference of NULL ‘rot_reciprocal’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c: In function ‘get_metric’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: warning: leak of ‘get_transpose(M)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:522:16: note: (1) entry to ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:16: note: (2) calling ‘get_transpose’ from ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:502:16: note: (3) entry to ‘get_transpose’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:26: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:8: note: (5) assuming ‘M_T’ is non-NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:508:8: note: (6) following ‘false’ branch (when ‘M_T’ is non-NULL)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:513:19: note: (8) following ‘true’ branch (when ‘i != 3’)... <--[gcc]
cc1: note: (9) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:514:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:16: note: (12) returning to ‘get_metric’ from ‘get_transpose’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:528:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (15) calling ‘multiply_matrices’ from ‘get_metric’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:541:16: note: (16) entry to ‘multiply_matrices’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:547:8: note: (17) following ‘true’ branch (when ‘M’ is NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:548:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:531:14: note: (19) returning to ‘get_metric’ from ‘multiply_matrices’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/niggli.c:515:34: note: (20) ‘get_transpose(M)’ leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c: In function ‘overlap_checker_alloc’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:530:25: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:479:24: note: (1) entry to ‘overlap_checker_alloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:504:8: note: (2) following ‘false’ branch (when ‘checker’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:26: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:26: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:509:8: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (7) calling ‘perm_argsort_work_malloc’ from ‘overlap_checker_alloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:395:14: note: (8) entry to ‘perm_argsort_work_malloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:400:8: note: (9) following ‘false’ branch (when ‘work’ is non-NULL)... <--[gcc]
cc1: note: (10) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:34: note: (11) returning to ‘overlap_checker_alloc’ from ‘perm_argsort_work_malloc’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:516:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:524:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/overlap.c:530:25: note: (14) assigned to ‘double (*)[3]’ here; ‘sizeof (double[3])’ is ‘24’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:212: error: memleak(CWE-401): Memory leak: inv_perm <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:220: error: memleak(CWE-401): Memory leak: inv_perm <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1249: error: negativeIndex(CWE-786): Array 'all_origin_shifts[36][3]' accessed at index -1, which is out of bounds. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1250: error: negativeIndex(CWE-786): Array 'all_conv_lattices[36][3][3]' accessed at index -1, which is out of bounds. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c: In function ‘match_hall_symbol_db_monocli’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1146:51: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1146 |     int i, check_norms, i_shortest, is_found_any, j, num_change_of_basis;
      |                                                   ^
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c: In function ‘match_hall_symbol_db’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1094:17: warning: ‘num_free_axes’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
 1094 |             if (match_hall_symbol_db_ortho(origin_shift, conv_lattice,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1095 |                                            orig_lattice, hall_number, centering,
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1096 |                                            symmetry, num_free_axes, symprec)) {
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spacegroup.c:1026:19: note: ‘num_free_axes’ was declared here <--[gcc]
 1026 |     int is_found, num_free_axes;
      |                   ^~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_layerdataset’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:475:5: warning: ‘spg_get_layer_dataset’ is deprecated: Experimental interface. May be removed in next major release. [-Wdeprecated-declarations] <--[gcc]
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:39: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:242:24: note: declared here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_symmetry’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:1080:5: warning: ‘spgat_get_symmetry’ is deprecated: Use the variables from SpglibDataset (rotations, translations) [-Wdeprecated-declarations] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:284:13: note: declared here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_hall_number_from_symmetry’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:1491:9: warning: ‘spg_get_hall_number_from_symmetry’ is deprecated: Use the variable from SpglibSpacegroupType instead (hall_number) [-Wdeprecated-declarations] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:357:13: note: declared here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In function ‘get_symmetry_permutations’,
    inlined from ‘spn_get_operations_with_site_tensors’ at /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:116:26:
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: warning: ‘scalar’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  614 |                     !is_zero(cell->tensors[j] - scalar, mag_symprec)) {
      |                              ~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘spn_get_operations_with_site_tensors’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: ‘scalar’ was declared here <--[gcc]
  563 |     double scalar;
      |            ^~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘spn_get_idealized_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:272:35: warning: ‘vector_res[0]’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  272 |                     vector_res[s] += vector_tmp[s] - cell->tensors[3 * i + s];
      |                                   ^~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:198:51: note: ‘vector_res[0]’ was declared here <--[gcc]
  198 |     double pos_tmp[3], pos_res[3], vector_tmp[3], vector_res[3];
      |                                                   ^~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:272:35: warning: ‘vector_res[1]’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  272 |                     vector_res[s] += vector_tmp[s] - cell->tensors[3 * i + s];
      |                                   ^~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:198:51: note: ‘vector_res[1]’ was declared here <--[gcc]
  198 |     double pos_tmp[3], pos_res[3], vector_tmp[3], vector_res[3];
      |                                                   ^~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:272:35: warning: ‘vector_res[2]’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  272 |                     vector_res[s] += vector_tmp[s] - cell->tensors[3 * i + s];
      |                                   ^~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:198:51: note: ‘vector_res[2]’ was declared here <--[gcc]
  198 |     double pos_tmp[3], pos_res[3], vector_tmp[3], vector_res[3];
      |                                                   ^~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spglib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spglib.c:248: error: arrayIndexOutOfBounds(CWE-788): Array 'spglib_error_message[10]' accessed at index 99, which is out of bounds. <--[cppcheck]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_layerdataset’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:475:5: warning: ‘spg_get_layer_dataset’ is deprecated: Experimental interface. May be removed in next major release. [-Wdeprecated-declarations] <--[gcc]
  475 |     dataset = spg_get_layer_dataset(lat, pos, typat, num_atom, aperiodic_dir,
      |     ^~~~~~~
In file included from /builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:39: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:242:24: note: declared here <--[gcc]
  242 | SPG_API SpglibDataset *spg_get_layer_dataset(
      |                        ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:446:19: warning: unused variable ‘len_list’ [-Wunused-variable] <--[gcc]
  446 |     int num_atom, len_list;
      |                   ^~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_symmetry’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:1080:5: warning: ‘spgat_get_symmetry’ is deprecated: Use the variables from SpglibDataset (rotations, translations) [-Wdeprecated-declarations] <--[gcc]
 1080 |     num_sym = spgat_get_symmetry(rot, trans, num_sym_from_array_size, lat, pos,
      |     ^~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:284:13: note: declared here <--[gcc]
  284 | SPG_API int spgat_get_symmetry(int rotation[][3][3], double translation[][3],
      |             ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c: In function ‘py_get_hall_number_from_symmetry’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/python/_spglib.c:1491:9: warning: ‘spg_get_hall_number_from_symmetry’ is deprecated: Use the variable from SpglibSpacegroupType instead (hall_number) [-Wdeprecated-declarations] <--[gcc]
 1491 |         spg_get_hall_number_from_symmetry(rot, trans, num_sym, symprec);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/include/spglib.h:357:13: note: declared here <--[gcc]
  357 | SPG_API int spg_get_hall_number_from_symmetry(int const rotation[][3][3],
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c: In function ‘get_primitive_in_translation_space’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:686:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:643:12: note: (1) entry to ‘get_primitive_in_translation_space’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:654:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:658:46: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:659:8: note: (4) following ‘false’ branch... <--[gcc]
cc1: note: (5) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:672:19: note: (6) following ‘true’ branch (when ‘i != 3’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:673:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:674:16: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:674:16: note: (10) following ‘true’ branch (when ‘i == j’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:675:21: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:682:17: note: (12) calling ‘get_primitive’ from ‘get_primitive_in_translation_space’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:250:19: note: (13) entry to ‘get_primitive’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:262:8: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:263:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:682:17: note: (16) returning to ‘get_primitive_in_translation_space’ from ‘get_primitive’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/primitive.c:686:18: note: (17) dereference of NULL ‘get_primitive(cel_alloc_cell(*pure_trans.size, -1), symprec, -1.0e+0)’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c: In function ‘set_Wyckoffs_labels’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:29: warning: dereference of possibly-NULL ‘nums_equiv_atoms’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:370:31: note: (1) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:371:19: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:25: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/site_symmetry.c:372:29: note: (4) ‘nums_equiv_atoms + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘spn_get_idealized_cell’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:246:15: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:192:7: note: (1) entry to ‘spn_get_idealized_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:207:28: note: (2) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:207:8: note: (3) following ‘false’ branch (when ‘inv_perm’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:211:23: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:211:8: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:214:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:218:8: note: (7) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:52: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:5: note: (9) calling ‘set_rotations_in_cartesian’ from ‘spn_get_idealized_cell’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (10) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:797:1: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:222:5: note: (13) returning to ‘spn_get_idealized_cell’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:225:19: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:226:36: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:229:23: note: (16) following ‘true’ branch (when ‘s != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:230:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:240:23: note: (18) following ‘true’ branch... <--[gcc]
cc1: note: (19) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:246:15: note: (20) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c: In function ‘get_symmetry_permutations’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: warning: use of uninitialized value ‘scalar’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:556:13: note: (1) entry to ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:563:12: note: (3) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:570:8: note: (4) following ‘false’ branch (when ‘permutations’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:577:35: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:576:8: note: (6) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:52: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (8) calling ‘set_rotations_in_cartesian’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (9) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:793:69: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (12) returning to ‘get_symmetry_permutations’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:585:19: note: (13) following ‘true’ branch... <--[gcc]
cc1: note: (14) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:586:23: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:587:28: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (17) calling ‘apply_symmetry_to_position’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:729:13: note: (18) entry to ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (19) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (21) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (23) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (25) following ‘false’ branch (when ‘k == 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:738:1: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (27) returning to ‘get_symmetry_permutations’ from ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:593:16: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (30) following ‘false’ branch... <--[gcc]
cc1: note: (31) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:605:27: note: (32) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:608:29: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:606:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:612:47: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:613:20: note: (36) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:43: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:614:47: note: (38) use of uninitialized value ‘scalar’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:60: warning: use of uninitialized value ‘vector[0]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:556:13: note: (1) entry to ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:564:20: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:570:8: note: (3) following ‘false’ branch (when ‘permutations’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:577:35: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:576:8: note: (5) following ‘false’ branch (when ‘rotations_cart’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:52: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (7) calling ‘set_rotations_in_cartesian’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:784:6: note: (8) entry to ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:791:19: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:793:69: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:582:5: note: (11) returning to ‘get_symmetry_permutations’ from ‘set_rotations_in_cartesian’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:585:19: note: (12) following ‘true’ branch... <--[gcc]
cc1: note: (13) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:586:23: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:587:28: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (16) calling ‘apply_symmetry_to_position’ from ‘get_symmetry_permutations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:729:13: note: (17) entry to ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (18) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (20) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (22) following ‘true’ branch (when ‘k != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:736:16: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:735:19: note: (24) following ‘false’ branch (when ‘k == 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:738:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:590:13: note: (26) returning to ‘get_symmetry_permutations’ from ‘apply_symmetry_to_position’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:593:16: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:598:23: note: (29) following ‘false’ branch... <--[gcc]
cc1: note: (30) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:605:27: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:608:29: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:606:20: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:612:47: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:613:20: note: (35) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:617:25: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:617:20: note: (37) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:35: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/spin.c:618:60: note: (39) use of uninitialized value ‘vector[0]’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c: In function ‘search_layer_pure_translations’: <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:29: warning: dereference of possibly-NULL ‘copy_atoms_found’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (1) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:799:19: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:42: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:800:29: note: (4) ‘copy_atoms_found + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:733:12: note: (1) entry to ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:745:8: note: (2) following ‘false’ branch... <--[gcc]
cc1: note: (3) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (12) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:766:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:768:19: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:772:30: note: (16) calling ‘search_layer_pure_translations’ from ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:788:12: note: (17) entry to ‘search_layer_pure_translations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (18) region created on heap here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: note: (19) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: warning: dereference of possibly-NULL ‘copy_atoms_found’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:733:12: note: (1) entry to ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:745:8: note: (2) following ‘false’ branch... <--[gcc]
cc1: note: (3) ...to here
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:751:19: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:752:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (8) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (10) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:760:23: note: (12) following ‘true’ branch (when ‘j != 3’)... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:761:28: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:766:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:768:19: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:772:30: note: (16) calling ‘search_layer_pure_translations’ from ‘search_layer_translation_part’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:788:12: note: (17) entry to ‘search_layer_pure_translations’ <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:798:31: note: (18) this call could return NULL <--[gcc]
/builddir/build/BUILD/spglib-2.5.0-build/spglib-2.5.0/src/symmetry.c:804:30: note: (19) ‘copy_atoms_found + (long unsigned int)initial_atom * 4’ could be NULL: unchecked value from (18) <--[gcc]
