Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_curext.c:327: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_curext.c:252: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_cursor.c:1094: missing_parentheses: !rc == -1 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:92: missing_parentheses: !rc == -1 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:95: missing_parentheses: !rc == -1 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:139: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:280: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:376: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_dyn_cursor.c:611: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:361: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:371: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:382: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:393: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:407: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:411: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:414: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:417: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:439: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:443: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:446: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:449: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:452: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:476: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:496: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_relative.c:537: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1417: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1420: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1431: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1438: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1441: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1448: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1455: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1458: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1465: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1476: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1479: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:840: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:849: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:857: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:861: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:870: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:873: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:903: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:912: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:932: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:944: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:947: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:954: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:957: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1028: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1039: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1049: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1053: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1064: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1067: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1102: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1111: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1137: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1150: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1153: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1162: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:1165: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:241: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:532: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:542: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:553: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:564: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:578: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:582: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:585: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:588: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:610: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:614: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:617: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:620: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:623: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:647: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:667: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:708: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:755: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:319: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:328: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:337: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:346: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:358: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:362: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:365: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:368: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:381: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:385: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:388: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:391: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:394: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:413: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:429: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:460: missing_parentheses: !rc == 100 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unixodbc.c:82: missing_parentheses: !rc == -1 is always false regardless of the values of its operands. Did you intend to either negate the entire comparison expression, in which case parentheses would be required around the entire comparison expression to force that interpretation, or negate the sense of the comparison (that is, use '!=' rather than '==')? This occurs as the logical operand of if. Error: DEADCODE (CWE-561): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1410: dead_error_condition: On this path, the condition "i == 4U" cannot be true. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1406: const: After this line, the value of "i" is equal to 5. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1406: new_values: Noticing condition "i == 5U". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:1412: dead_error_begin: Execution cannot reach this statement "rc = SQLExtendedFetch(hstmt...". Error: DEADCODE (CWE-561): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:845: dead_error_condition: On this path, the condition "i == 10U" cannot be true. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:836: const: After this line, the value of "i" is equal to 1. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:793: const: After this line, the value of "max_rows" is equal to 10. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:793: assignment: Assigning: "max_rows" = "10U". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:836: new_values: Noticing condition "i == 1U". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:848: dead_error_begin: Execution cannot reach this statement "rc = SQLFetchScroll(hstmt, ...". Error: DEADCODE (CWE-561): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:324: dead_error_condition: On this path, the condition "i == 10U" cannot be true. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:315: const: After this line, the value of "i" is equal to 1. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:272: const: After this line, the value of "max_rows" is equal to 10. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:272: assignment: Assigning: "max_rows" = "10U". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:315: new_values: Noticing condition "i == 1U". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_scroll.c:327: dead_error_begin: Execution cannot reach this statement "rc = SQLFetchScroll(hstmt, ...". Error: DEADCODE (CWE-561): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:992: dead_error_condition: On this path, the condition "exprc == -1" cannot be true. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:988: const: After this line, the value of "exprc" is equal to 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:969: assignment: Assigning: "exprc" = "0". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:988: new_values: Noticing condition "exprc != 0". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:993: dead_error_line: Execution cannot reach this statement "return 0;". Error: EVALUATION_ORDER: /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/stringutil.c:660: read_write_order: In "*c++ = tolower(*c)", "c" is read in "tolower(*c)" and written in "*c++" (the assignment left-hand side) but the order of evaluation is undefined because there is no intervening sequence point. Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:248: assign_zero: Assigning: "data" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:460: alias_transfer: Assigning null: "time" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:461: var_deref_op: Dereferencing null variable "time". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:284: var_compare_op: Comparing "data" to null implies that "data" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:572: alias_transfer: Assigning null: "from" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:574: var_deref_op: Dereferencing null variable "from". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:284: var_compare_op: Comparing "data" to null implies that "data" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:460: alias_transfer: Assigning null: "time" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:461: var_deref_op: Dereferencing null variable "time". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:248: assign_zero: Assigning: "data" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:446: alias_transfer: Assigning null: "date" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:447: var_deref_op: Dereferencing null variable "date". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:451: var_deref_op: Dereferencing null variable "date". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:248: assign_zero: Assigning: "data" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:470: alias_transfer: Assigning null: "time" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:471: var_deref_op: Dereferencing null variable "time". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:476: var_deref_op: Dereferencing null variable "time". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:284: var_compare_op: Comparing "data" to null implies that "data" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:446: alias_transfer: Assigning null: "date" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:447: var_deref_op: Dereferencing null variable "date". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:451: var_deref_op: Dereferencing null variable "date". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:284: var_compare_op: Comparing "data" to null implies that "data" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:470: alias_transfer: Assigning null: "time" = "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:471: var_deref_op: Dereferencing null variable "time". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:476: var_deref_op: Dereferencing null variable "time". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:248: assign_zero: Assigning: "data" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:394: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:398: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:403: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:407: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:412: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:416: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:420: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:424: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:429: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:432: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:437: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:440: var_deref_op: Dereferencing null variable "data". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:284: var_compare_op: Comparing "data" to null implies that "data" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:394: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:398: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:403: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:407: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:412: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:416: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:420: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:424: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:429: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:432: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:437: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:440: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:507: var_deref_op: Dereferencing null variable "data". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:597: var_deref_model: Passing null variable "data" to function "add_to_buffer", which dereferences it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:151: deref_parm_in_call: Function "memcpy" dereferences parameter "from". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:612: var_deref_model: Passing null variable "data" to function "copy_binhex_result", which dereferences it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:960: deref_parm: Directly dereferencing parameter "src". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/odbcinstw.c:73: assign_zero: Assigning: "ret" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/odbcinstw.c:88: alias_transfer: Assigning null: "pos" = "ret". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/odbcinstw.c:89: var_deref_op: Dereferencing null variable "pos". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/info.c:768: var_compare_op: Comparing "dbc->ds" to null implies that "dbc->ds" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/info.c:771: var_deref_op: Dereferencing null variable "dbc->ds". Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:475: assign_zero: Assigning: "result" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:545: var_deref_model: Passing null variable "result" to function "memcpy", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:516: assign_zero: Assigning: "result" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:545: var_deref_model: Passing null variable "result" to function "memcpy", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:730: assign_zero: Assigning: "result" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:760: var_deref_model: Passing null variable "result" to function "memcpy", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:737: assign_zero: Assigning: "result" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:760: var_deref_model: Passing null variable "result" to function "memcpy", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadConnectStr.c:246: assign_zero: Assigning: "pszName" = 0. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadConnectStr.c:106: var_deref_model: Passing null variable "pszName" to function "strcasecmp", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilWriteDataSourceStr.c:59: var_compare_op: Comparing "pDataSource->pszDATABASE" to null implies that "pDataSource->pszDATABASE" might be null. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilWriteDataSourceStr.c:73: var_deref_model: Passing null variable "pDataSource->pszDATABASE" to function "MYODBCUtilInsertStr", which dereferences it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilInsertStr.c:33: deref_parm_in_call: Function "strlen" dereferences parameter "pszStrIn". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: INFINITE_LOOP: /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:64: loop_top: Top of the loop. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:69: loop_bottom: Bottom of the loop. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:68: loop_condition: "sizeof (long long) /*8*/ < srcLen" must remain true for the loop to continue. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:64: loop_condition: "0U != srcLen" must remain true for the loop to continue. Error: MISSING_BREAK (CWE-484): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:1397: unterminated_case: This case (value 16) is not terminated by a 'break' statement. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:1401: fallthrough: The above case falls through to this one. Error: MISSING_BREAK (CWE-484): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:85: unterminated_case: This case (value -7) is not terminated by a 'break' statement. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:98: fallthrough: The above case falls through to this one. Error: NO_EFFECT (CWE-665): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2747: bad_memset: Memset with fill value '0'. Did you want 0? "memset(numstr + calcprec + 1, 48, reqscale)". Error: NO_EFFECT (CWE-665): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:439: array_null: Comparing an array to null is not useful: "error->message". Error: NULL_RETURNS (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog.c:59: example_checked: "strchr(*token, chr)" has its value checked in "cur_token = strchr(*token, chr)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:993: example_checked: "strchr(row[comment_id], 59)" has its value checked in "comment_token = strchr(row[comment_id], 59)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:1087: example_checked: "strchr(comment_token, 59)" has its value checked in "comment_token = strchr(comment_token, 59)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2486: example_assign: Assigning: "decpt" = return value from "strchr(numstr, 46)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2513: example_checked: "decpt" has its value checked in "decpt". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:3178: returned_null: Function "strchr" returns null (checked 4 out of 5 times). /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:3178: var_assigned: Assigning: "start_pos" = null return value from "strchr". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:3205: dereference: Dereferencing a pointer that might be null "start_pos" when calling "proc_parse_enum_set". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:3138: deref_parm: Directly dereferencing parameter "ptype". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:3209: dereference: Dereferencing a pointer that might be null "start_pos" when calling "proc_parse_enum_set". Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:227: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:230: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:233: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:236: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:239: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:244: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:251: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:251: overrun-buffer-arg: Overrunning static array "pbuff" of size 20 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 1023. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1120: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1127: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1130: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: OVERRUN_STATIC (CWE-125): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1135: overrun-buffer-arg: Overrunning static array "dummy" of size 1024 bytes by passing it to a function which indexes it with argument "sizeof (dummy) /*1024*/" at byte position 2046. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_blob.c:56: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_blob.c:56: var_assign: Assigning: "blobbuf" = storage returned from "malloc(blobbuf_size)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_blob.c:57: noescape: Variable "blobbuf" is not freed or pointed-to in function "memset". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_blob.c:61: leaked_storage: Variable "blobbuf" going out of scope leaks the storage it points to. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_blob.c:63: leaked_storage: Variable "blobbuf" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2187: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2187: noescape: Variable "dup_wchar_t_as_sqlwchar(L"qwertyuiop", 11UL)" is not freed or pointed-to in function "memcmp". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2187: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"qwertyuiop", 11UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2279: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2279: noescape: Variable "dup_wchar_t_as_sqlwchar(L"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 32UL)" is not freed or pointed-to in function "memcmp". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2279: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 32UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2287: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2287: noescape: Variable "dup_wchar_t_as_sqlwchar(L"xyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", 32UL)" is not freed or pointed-to in function "memcmp". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2287: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"xyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", 32UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2294: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2294: noescape: Variable "dup_wchar_t_as_sqlwchar(L"yyzzzzzzzzzzzzzzzz", 19UL)" is not freed or pointed-to in function "memcmp". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:2294: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"yyzzzzzzzzzzzzzzzz", 19UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:182: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:182: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"SELECT ? FROM DUAL", 19UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:182: noescape: Variable "dup_wchar_t_as_sqlwchar(L"SELECT ? FROM DUAL", 19UL)" is not freed or pointed-to in function "SQLPrepareW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:742:39: noescape: "SQLPrepareW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:176: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:481: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:481: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_colattrib (aãg INT)", 35UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:481: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_colattrib (aãg INT)", 35UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:475: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:701: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:701: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_columns (aãg INT)", 33UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:701: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_columns (aãg INT)", 33UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:705: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:705: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"aãg", 4UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:705: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_columns", 10UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:705: noescape: Variable "dup_wchar_t_as_sqlwchar(L"aãg", 4UL)" is not freed or pointed-to in function "SQLColumnsW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:178:23: noescape: "SQLColumnsW" does not free or save its pointer parameter "column". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:705: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_columns", 10UL)" is not freed or pointed-to in function "SQLColumnsW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:177:23: noescape: "SQLColumnsW" does not free or save its pointer parameter "table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:695: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:35: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:527: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:527: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_desc (aãg INT)", 30UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:527: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_desc (aãg INT)", 30UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:521: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:826: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:826: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_fk_å, t_fk_ã", 36UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:826: noescape: Variable "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_fk_å, t_fk_ã", 36UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:830: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:830: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_fk_ã (a INT PRIMARY KEY) ENGINE=InnoDB", 54UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:830: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_fk_ã (a INT PRIMARY KEY) ENGINE=InnoDB", 54UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:834: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:834: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_fk_å (b INT, parent_id INT, FOREIGN KEY (parent_id) REFERENCES t_fk_ã(a) ON DELETE SET NULL) ENGINE=InnoDB", 215UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:834: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_fk_å (b INT, parent_id INT, FOREIGN KEY (parent_id) REFERENCES t_fk_ã(a) ON DELETE SET NULL) ENGINE=InnoDB", 215UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:843: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:843: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_fk_å", 7UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:843: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_fk_å", 7UL)" is not freed or pointed-to in function "SQLForeignKeysW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:345:27: noescape: "SQLForeignKeysW" does not free or save its pointer parameter "fk_table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:821: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:565: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:414: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:649: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:599: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:287: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:287: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(in, 19UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:287: noescape: Variable "dup_wchar_t_as_sqlwchar(in, 19UL)" is not freed or pointed-to in function "SQLNativeSqlW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:714:39: noescape: "SQLNativeSqlW" does not free or save its pointer parameter "in". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:291: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:291: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(in, 19UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:291: noescape: Variable "dup_wchar_t_as_sqlwchar(in, 19UL)" is not freed or pointed-to in function "SQLNativeSqlW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:714:39: noescape: "SQLNativeSqlW" does not free or save its pointer parameter "in". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:282: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:61: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:61: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"SELECT \'ァ\' FROM DUAL WHERE 1 = ?", 33UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:61: noescape: Variable "dup_wchar_t_as_sqlwchar(L"SELECT \'ァ\' FROM DUAL WHERE 1 = ?", 33UL)" is not freed or pointed-to in function "SQLPrepareW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:742:39: noescape: "SQLPrepareW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:54: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:134: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:134: noescape: Variable "dup_wchar_t_as_sqlwchar(L"SELECT \'ã\' FROM DUAL WHERE 1 = ?", 33UL)" is not freed or pointed-to in function "SQLPrepareW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:742:39: noescape: "SQLPrepareW" does not free or save its pointer parameter "str". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:134: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"SELECT \'ã\' FROM DUAL WHERE 1 = ?", 33UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:883: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:883: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:883: noescape: Variable "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:885: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:885: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT PRIMARY KEY)", 39UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:885: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT PRIMARY KEY)", 39UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:890: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:890: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:890: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" is not freed or pointed-to in function "SQLPrimaryKeysW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:770:27: noescape: "SQLPrimaryKeysW" does not free or save its pointer parameter "table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:878: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:783: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:783: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_spec (aãg INT PRIMARY KEY)", 42UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:783: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_spec (aãg INT PRIMARY KEY)", 42UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:788: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:788: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_spec", 7UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:788: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_spec", 7UL)" is not freed or pointed-to in function "SQLSpecialColumnsW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:968:30: noescape: "SQLSpecialColumnsW" does not free or save its pointer parameter "table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:777: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:924: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:924: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:924: noescape: Variable "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:927: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:927: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT PRIMARY KEY)", 39UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:927: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT PRIMARY KEY)", 39UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:932: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:932: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:932: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" is not freed or pointed-to in function "SQLStatisticsW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:1005:26: noescape: "SQLStatisticsW" does not free or save its pointer parameter "table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:919: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:739: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:739: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:739: noescape: Variable "dup_wchar_t_as_sqlwchar(L"DROP TABLE IF EXISTS t_aãg", 27UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:742: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:742: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT)", 27UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:742: noescape: Variable "dup_wchar_t_as_sqlwchar(L"CREATE TABLE t_aãg (a INT)", 27UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:746: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:746: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:746: noescape: Variable "dup_wchar_t_as_sqlwchar(L"t_aãg", 6UL)" is not freed or pointed-to in function "SQLTablesW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:1076:22: noescape: "SQLTablesW" does not free or save its pointer parameter "table". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:734: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1108: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1108: noescape: Variable "dup_wchar_t_as_sqlwchar(L"GRANT ALL ON t_bug28168 to \'ΨΑΡΟ uid\'@localhost identified by \'ΨΑΡΟ pwd\'", 73UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:1108: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"GRANT ALL ON t_bug28168 to \'ΨΑΡΟ uid\'@localhost identified by \'ΨΑΡΟ pwd\'", 73UL)" leaks it. Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:985: alloc_fn: Calling allocation function "dup_wchar_t_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1078: var_assign: Assigning: "to" = "malloc(2UL * len * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1079: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/unicode_transcode.c:70:34: noescape: "utf32toutf16" does not free or save its pointer parameter "u". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1081: noescape: Variable "(UTF16 *)to" is not freed or pointed-to in function "utf32toutf16". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1083: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:985: leaked_storage: Failing to save storage allocated by "dup_wchar_t_as_sqlwchar(L"INSERT INTO t_bug32161 VALUES (\"ΨΑΡΟ 1\",\"ΨΑΡΟ 2\",\"ΨΑΡΟ 3\",\"ΨΑΡΟ 4\",\"ΨΑΡΟ 5\",\"ΨΑΡΟ 6\")", 86UL)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:985: noescape: Variable "dup_wchar_t_as_sqlwchar(L"INSERT INTO t_bug32161 VALUES (\"ΨΑΡΟ 1\",\"ΨΑΡΟ 2\",\"ΨΑΡΟ 3\",\"ΨΑΡΟ 4\",\"ΨΑΡΟ 5\",\"ΨΑΡΟ 6\")", 86UL)" is not freed or pointed-to in function "SQLExecDirectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:326:42: noescape: "SQLExecDirectW" does not free or save its pointer parameter "str". Error: RESOURCE_LEAK (CWE-404): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: alloc_fn: Calling allocation function "dup_char_as_sqlwchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1101: var_assign: Assigning: "to" = "malloc((strlen((char *)from) + 1UL) * sizeof (SQLWCHAR) /*2*/)". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1102: var_assign: Assigning: "out" = "to". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1106: return_alloc: Returning allocated memory "out". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mydsn)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(mypwd)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: leaked_storage: Failing to save storage allocated by "dup_char_as_sqlwchar(myuid)" leaks it. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: noescape: Variable "dup_char_as_sqlwchar(mydsn)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:215:37: noescape: "SQLConnectW" does not free or save its pointer parameter "dsn". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: noescape: Variable "dup_char_as_sqlwchar(mypwd)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:217:23: noescape: "SQLConnectW" does not free or save its pointer parameter "auth". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unicode.c:969: noescape: Variable "dup_char_as_sqlwchar(myuid)" is not freed or pointed-to in function "SQLConnectW". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/unicode.c:216:23: noescape: "SQLConnectW" does not free or save its pointer parameter "user". Error: REVERSE_INULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:553: deref_ptr: Directly dereferencing pointer "desc". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:558: check_after_deref: Dereferencing "desc" before a null check. Error: REVERSE_INULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadConnectStr.c:106: deref_ptr_in_call: Dereferencing pointer "pszName". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadConnectStr.c:244: check_after_deref: Dereferencing "pszName" before a null check. Error: REVERSE_INULL (CWE-476): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadDataSourceStr.c:197: deref_ptr_in_call: Dereferencing pointer "pszName". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/MYODBCUtilReadDataSourceStr.c:328: check_after_deref: Dereferencing "pszName" before a null check. Error: SIGN_EXTENSION (CWE-194): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_types.c:838: sign_extension: Suspicious implicit sign extension: "sqlnum->val[7 - i]" with type "unsigned char" (8 bits, unsigned) is promoted in "sqlnum->val[7 - i] << 8 * (7 - i)" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "sqlnum->val[7 - i] << 8 * (7 - i)" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. Error: SIZEOF_MISMATCH (CWE-569): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:893: suspicious_pointer_arithmetic: Adding "sizeof (buff) /*8192*/" to pointer "buff" of type "wchar_t [2048]" is suspicious because adding an integral value to this pointer automatically scales that value by the size, 4 bytes, of the pointed-to type, "wchar_t". Most likely, you intended to use the number of elements in "buff" rather than its size in bytes. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/odbctap.h:1014: fixed_size_dest: You might overrun the 256 byte fixed-size string "connIn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:397: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:289: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:679: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:487: fixed_size_dest: You might overrun the 1001 byte fixed-size string "username" by copying "myuid" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:530: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:1084: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:1034: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:596: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:609: fixed_size_dest: You might overrun the 256 byte fixed-size string "exp_out" by copying "mypwd" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_basics.c:619: fixed_size_dest: You might overrun the 256 byte fixed-size string "exp_out" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_catalog.c:1047: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_catalog.c:803: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_catalog.c:1452: fixed_size_dest: You might overrun the 255 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_catalog.c:2219: fixed_size_dest: You might overrun the 256 byte fixed-size string "noI_SconnStr" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_cursor.c:2743: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_cursor.c:2836: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_info.c:319: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_info.c:225: fixed_size_dest: You might overrun the 256 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_param.c:426: fixed_size_dest: You might overrun the 255 byte fixed-size string "dataBinding[i].strField" by copying "str[i]" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:813: fixed_size_dest: You might overrun the 255 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_result.c:880: fixed_size_dest: You might overrun the 255 byte fixed-size string "conn" by copying "mysock" without checking the length. Error: STRING_OVERFLOW (CWE-120): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/test/my_unixodbc.c:131: fixed_size_dest: You might overrun the 255 byte fixed-size string "conn_in" by copying "mysock" without checking the length. Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2052: var_decl: Declaring variable "date" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2081: uninit_use: Using uninitialized value "date[0]". Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:298: var_decl: Declaring variable "stmt" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:343: uninit_use: Using uninitialized value "stmt". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:343: uninit_use: Using uninitialized value "stmt->ard". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:344: uninit_use: Using uninitialized value "stmt->ird". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:345: uninit_use: Using uninitialized value "stmt->apd". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/handle.c:346: uninit_use: Using uninitialized value "stmt->ipd". Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:732: var_decl: Declaring variable "rc" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/execute.c:943: uninit_use: Using uninitialized value "rc". Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/ansi.c:601: var_decl: Declaring variable "len" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/ansi.c:617: uninit_use_in_call: Using uninitialized value "len" when calling "sqlchar_as_sqlchar". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/util/stringutil.c:324: read_parm: Reading a parameter value. Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:579: var_decl: Declaring variable "ds" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:592: uninit_use: Using uninitialized value "ds". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:593: uninit_use: Using uninitialized value "ds->name8". Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:617: var_decl: Declaring variable "ds" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:629: uninit_use: Using uninitialized value "ds". /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/error.c:630: uninit_use: Using uninitialized value "ds->server8". Error: UNINIT (CWE-457): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:1993: var_decl: Declaring variable "date" without initializer. /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/utility.c:2025: uninit_use: Using uninitialized value "date[0]". Error: UNREACHABLE (CWE-561): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:967: unreachable: This code cannot be reached: "pthread_mutex_unlock(&stmt-...". Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/cursor.c:253: returned_pointer: Pointer "pos" returned by "strmov(pos, "`")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:718: returned_pointer: Pointer "pos" returned by "strmov(pos, "\' AND c.Table_name = t.Table_name ORDER BY c.Db, c.Table_name, c.Column_name, c.Column_priv")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:220: returned_pointer: Pointer "to" returned by "strmov(to, "\'")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:263: returned_pointer: Pointer "to" returned by "strmov(to, "` LIMIT 0")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog.c:215: returned_pointer: Pointer "to" returned by "strmov(to, "\'")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:120: returned_pointer: Pointer "to" returned by "strmov(to, "`")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:565: returned_pointer: Pointer "pos" returned by "strxmov(pos, " ORDER BY Db, Table_name, Table_priv, User", NULL)" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/catalog_no_i_s.c:2047: returned_pointer: Pointer "to" returned by "strmov(to, "\'")" is never used. Error: UNUSED_VALUE (CWE-563): /builddir/build/BUILD/mysql-connector-odbc-5.1.8/driver/results.c:1030: returned_pointer: Pointer "arrec" returned by "desc_get_rec(stmt->ard, ColumnNumber - 1, '\x1')" is never used.