Menu

#441 Condition depends on uninitialised val : (DataType.cxx:1853)

V2.1 Beta
open
leak (188)
5
2009-02-05
2009-01-31
No

i run expression.sql uder the directory ( tool / csql /) with csql -s through valgrind tool as
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -u root -p manager -s expresion.sql
and found Conditional jump or move depends on uninitialised value(s)

Error Summary :
==20972== Conditional jump or move depends on uninitialised value(s)
==20972== at 0xA84F7A: vfprintf (in /lib/libc-2.7.so)
==20972== by 0xA8B9B2: printf (in /lib/libc-2.7.so)
==20972== by 0x4026A27: AllDataType::printVal(void*, DataType, int) (DataType.cxx:1853)
==20972== by 0x405CEBF: SelStatement::fetchAndPrint(bool) (SelStatement.cxx:795)
==20972== by 0x406597C: SqlStatement::fetchAndPrint(bool) (SqlStatement.cxx:151)
==20972== by 0x804975C: getInput(bool) (isql.cxx:342)
==20972== by 0x8049B11: main (isql.cxx:109)

Discussion

  • Nihar Ranjan paital

    • assigned_to: nobody --> niharlcp1
     
  • Nihar Ranjan paital

    hi i habe written the file name wrongly
    It is expression.sql
    refer tools / csql / test049.ksh

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.