MESSAGES
Location Code Message
Fails/Info
special-casing-table.h (73)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
lex.cc (27)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
oct-parse.h (221)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
oct-gperf.h (32)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
lex.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
oct-parse.cc (77)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
oct-parse.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
ls-oct-text.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
oct-tex-lexer.cc (24)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
oct-tex-parser.h (51)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
oct-tex-lexer.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
oct-tex-parser.cc (72)
V011 Presence of #line directives may cause some diagnostic messages to have incorrect file name and line number.
dNDArray.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
fNDArray.cc (1)
V002 Some diagnostic messages may contain incorrect line number in this file.
General Analysis (GA)
areadlink-with-size.c (59)
V547 Expression 'symlink_max < INITIAL_LIMIT_BOUND' is always true.
careadlinkat.c (145)
V547 Expression 'buf_size_max < (18446744073709551615UL)' is always true.
md2.c (60)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->X'.
md4.c (245)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->buffer'.
md5.c (279)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->buffer'.
sha1.c (266)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->buffer'.
sha256.c (345)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->buffer'.
sha512.c (346)
V512 A call of the 'memcpy' function will lead to underflow of the buffer 'ctx->buffer'.
dirname-lgpl.c (38)
V547 Expression 'prefix_length != 0' is always false.
filemode.c (170)
V501 There are identical sub-expressions to the left and to the right of the '-' operator: (statp)->st_mode - (statp)->st_mode
filemode.c (174)
V501 There are identical sub-expressions to the left and to the right of the '-' operator: (statp)->st_mode - (statp)->st_mode
filemode.c (176)
V501 There are identical sub-expressions to the left and to the right of the '-' operator: (statp)->st_mode - (statp)->st_mode
filemode.c (174)
V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 174, 176.
filemode.c (172)
V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 172, 178.
filemode.c (170)
V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 170, 174.
gettext.h (241)
V558 Function returns the pointer to temporary local object.
tmpdir.c (133)
V549 The first argument of 'strcmp' function is equal to the second argument.
u8-to-u32.c (105)
V641 The size of the allocated memory buffer is not a multiple of the element size.
mktime.c (142)
V610 Unspecified behavior. Check the shift operator '>>'. The left operand '-one' is negative.
mktime.c (142)
V547 Expression '- one >> 1 == - 1' is always true.
mktime.c (153)
V547 Expression is always false.
time_rz.c (71)
V564 The '|' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '||' operator.
time_rz.c (77)
V792 The 'isdst_differ' function located to the right of the operator '|' will be called regardless of the value of the left operand. Perhaps, it is better to use '||'.
vasnprintf.c (4943)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (4962)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (4963)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (4964)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (5234)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (5250)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
vasnprintf.c (5251)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: sizeof (char) / sizeof (char)
MSparse.cc (549)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: Zero / Zero
chol.h (42)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: is_upper.
chol.h (57)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: is_upper.
audiodevinfo.cc (1363)
V547 Expression 'sample_l32 & 0x00800000' is always false.
audiodevinfo.cc (1366)
V547 Expression 'sample_r32 & 0x00800000' is always false.
audiodevinfo.cc (1441)
V547 Expression 'sample_l32 & 0x00800000' is always false.
audiodevinfo.cc (1444)
V547 Expression 'sample_r32 & 0x00800000' is always false.
chol.cc (253)
V614 Uninitialized variable 'info' used.
chol.cc (266)
V614 Uninitialized variable 'info' used.
chol.cc (286)
V614 Uninitialized variable 'info' used.
chol.cc (299)
V614 Uninitialized variable 'info' used.
chol.cc (414)
V614 Uninitialized variable 'info' used.
chol.cc (425)
V614 Uninitialized variable 'info' used.
chol.cc (441)
V614 Uninitialized variable 'info' used.
chol.cc (452)
V614 Uninitialized variable 'info' used.
gl-select.h (44)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: xp, yp.
Table.cc (367)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (367)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the intmax_t type is expected.
Table.cc (368)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (368)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the uintmax_t type is expected.
Table.cc (369)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (369)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the intmax_t type is expected.
Table.cc (370)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (370)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the uintmax_t type is expected.
Table.cc (371)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (371)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the intmax_t type is expected.
Table.cc (372)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (372)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the uintmax_t type is expected.
Table.cc (373)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (373)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the intmax_t type is expected.
Table.cc (374)
V758 The 'c_str' reference becomes invalid when temporary object returned by a function is destroyed.
Table.cc (374)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the uintmax_t type is expected.
Array.cc (2697)
V1028 Possible overflow. Consider casting operands of the 'dim + 1' operator to the 'octave_idx_type' type, not the result.
ov-bool.cc (237)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-class.cc (1261)
V547 Expression 'len == 0' is always true.
ov-class.cc (1219)
V547 Expression 'len > 0' is always false.
ov-classdef.cc (3485)
V678 An object is used as an argument to its own method. Consider checking the first actual argument of the 'set_class' function.
ov-complex.cc (368)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-fcn-inline.cc (491)
V767 Suspicious access to element of 'hdims' array by a constant index inside a loop.
ov-float.cc (258)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-flt-complex.cc (315)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-range.cc (649)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-scalar.cc (278)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-str-mat.cc (404)
V614 Uninitialized variable 'len' used. Consider checking the third actual argument of the 'extract_keyword' function.
ov-struct.cc (785)
V547 Expression 'len == 0' is always true.
ov-struct.cc (1445)
V547 Expression 'len == 0' is always true.
ov-struct.cc (1421)
V547 Expression 'len > 0' is always false.
ov-base-int.cc (744)
V614 Uninitialized buffer 'dimens' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-bool-sparse.cc (359)
V614 Uninitialized buffer 'hdims' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-cx-sparse.cc (391)
V614 Uninitialized buffer 'hdims' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
ov-re-sparse.cc (414)
V614 Uninitialized buffer 'hdims' used. Consider checking the second actual argument of the 'H5Screate_simple' function.
lex.cc (3619)
V1028 Possible overflow. Consider casting operands of the 'b->yy_buf_size + 2' operator to the 'yy_size_t' type, not the result.
lex.cc (3948)
V1028 Possible overflow. Consider casting operands of the 'b->yy_buf_size + 2' operator to the 'yy_size_t' type, not the result.
lex.cc (4201)
V1028 Possible overflow. Consider casting operands of the '_yybytes_len + 2' operator to the 'yy_size_t' type, not the result.
lex.ll (2796)
V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. A pointer to the uintmax_t type is expected.
pt-assign.cc (38)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_ans_assign.
pt-bp.cc (449)
V547 Expression 'm_action == list' is always true.
pt-bp.cc (480)
V547 Expression 'm_action == list' is always true.
pt-eval.cc (193)
V773 The function was exited without releasing the 'lxr' pointer. A memory leak is possible.
__qp__.cc (257)
V547 Expression 'pR == 0' is always true.
__qp__.cc (261)
V547 Expression 'pR == 0' is always true.
ft-text-renderer.cc (376)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: line_xoffset.
graphics.cc (11417)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: notify_toolkit.
ls-mat5.cc (2183)
V547 Expression '6 > max_namelen' is always false.
oct-stream.cc (2510)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: delim_len.
oct-tex-lexer.cc (2216)
V1028 Possible overflow. Consider casting operands of the 'b->yy_buf_size + 2' operator to the 'yy_size_t' type, not the result.
oct-tex-lexer.cc (2542)
V1028 Possible overflow. Consider casting operands of the 'b->yy_buf_size + 2' operator to the 'yy_size_t' type, not the result.
oct-tex-lexer.cc (2795)
V1028 Possible overflow. Consider casting operands of the '_yybytes_len + 2' operator to the 'yy_size_t' type, not the result.
CDiagMatrix.cc (269)
V591 Non-void function should return a value.
CDiagMatrix.cc (299)
V591 Non-void function should return a value.
dDiagMatrix.cc (192)
V591 Non-void function should return a value.
dDiagMatrix.cc (222)
V591 Non-void function should return a value.
dSparse.cc (4725)
V614 Uninitialized variable 'anorm' used.
dSparse.cc (5064)
V614 Uninitialized variable 'anorm' used.
dSparse.cc (5418)
V614 Uninitialized variable 'anorm' used.
fCDiagMatrix.cc (273)
V591 Non-void function should return a value.
fCDiagMatrix.cc (303)
V591 Non-void function should return a value.
fDiagMatrix.cc (192)
V591 Non-void function should return a value.
fDiagMatrix.cc (222)
V591 Non-void function should return a value.
idx-vector.cc (108)
V591 Non-void function should return a value.
idx-vector.cc (1211)
V781 The value of the 'len' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 1211, 1217.
Quad.cc (160)
V591 Non-void function should return a value.
Quad.cc (224)
V591 Non-void function should return a value.
Quad.cc (230)
V591 Non-void function should return a value.
Quad.cc (277)
V591 Non-void function should return a value.
eigs-base.cc (349)
V614 Uninitialized variable 'info' used.
eigs-base.cc (386)
V614 Uninitialized variable 'info' used.
smx-scm-sm.cc (10)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: Complex() / Complex()
smx-sm-scm.cc (10)
V501 There are identical sub-expressions to the left and to the right of the '/' operator: Complex() / Complex()
lo-hash.cc (140)
V591 Non-void function should return a value.
oct-rl-hist.c (279)
V1028 Possible overflow. Consider casting operands of the 'end - beg + 1' operator to the 'size_t' type, not the result.
CharacterColor.h (261)
V640 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
History.cpp (83)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: readWriteBalance.
ScreenWindow.cpp (31)
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: _screen.
documentation.cc (96)
V595 The 'm_help_engine' pointer was utilized before it was verified against nullptr. Check lines: 96, 110.