Microsoft ODBC bug

Dom Latter freeradius-users at latter.org
Tue Jul 9 11:46:19 CEST 2019


On 04/07/2019 19:21, Arran Cudbard-Bell wrote:
> 
> Could we get the calls listed chronologically.


All from pyodbc.cpython-35m-x86_64-linux-gnu.so:

SQLSetConnectAttr(0x16ae950, 102, 0, 0xfffffffb)           = 0
SQLAllocHandle(3, 0x16ae950, 0x7ffe19138f70, 0)            = 0
SQLFetch(0x1760e60, 0x1760e60, 0, 0)                       = 0
SQLGetData(0x1760e60, 3, 4, 0x7ffe19138f60)                = 0
SQLFreeStmt(0x1760e60, 0, 0, 0)                            = 0
SQLFreeHandle(3, 0x1760e60, 0, 0)                          = 0
SQLAllocHandle(3, 0x16ae950, 0x7ffe19138f78, 0)            = 0
SQLFetch(0x1760e60, 0x1760e60, 0, 0)                       = 0
SQLGetData(0x1760e60, 3, 4, 0x7ffe19138f64)                = 0
SQLFreeStmt(0x1760e60, 0, 0, 0)                            = 0
SQLFreeHandle(3, 0x1760e60, 0, 0)                          = 0
SQLAllocHandle(3, 0x16ae950, 0x7ffe19138f80, 0)            = 0
SQLFetch(0x1760e60, 0x1760e60, 0, 0)                       = 0
SQLGetData(0x1760e60, 3, 4, 0x7ffe19138f68)                = 0
SQLFreeStmt(0x1760e60, 0, 0, 0)                            = 0
SQLFreeHandle(3, 0x1760e60, 0, 0)                          = 0
SQLAllocHandle(3, 0x16ae950, 0x7ffe19138f88, 0)            = 0
SQLFetch(0x1760e60, 0x1760e60, 0, 0)                       = 0
SQLGetData(0x1760e60, 3, 4, 0x7ffe19138f6c)                = 0
SQLFreeStmt(0x1760e60, 0, 0, 0)                            = 0
SQLFreeHandle(3, 0x1760e60, 0, 0)                          = 0
SQLAllocHandle(3, 0x16ae950, 0x7fc6d56fe570, 119)          = 0
SQLFreeStmt(0x1760e60, 0, 0xffffffff, 0)                   = 0
SQLExecDirectW(0x1760e60, 0x7fc6d5712a90, 13, 2)           = 0
SQLRowCount(0x1760e60, 0x7ffe19139140, 0xffffffff, 0x7fc6d56e6000) = 0
SQLNumResultCols(0x1760e60, 0x7ffe19139138, 0xffffffff, 0) = 0
SQLDescribeColW(0x1760e60, 1, 0x7ffe19138e70, 300)         = 0
SQLFetch(0x1760e60, 23, 0xffffffff, 0x7fc6d56fe558)        = 0
SQLGetData(0x1760e60, 1, 4, 0x7ffe19139138)                = 0
SQLFetch(0x1760e60, 23, 0xffffffff, 0x7fc6d56fe558)        = 100
SQLFreeStmt(0x1760e60, 0, 0xffffffff, 0x7fc6d7cc9000)      = 0
SQLFreeHandle(3, 0x1760e60, 0xffffffff, 0)                 = 0
SQLEndTran(2, 0x16ae950, 1, 0)                             = 0
SQLDisconnect(0x16ae950, 0x16ae950, 0, 0)                  = 0
SQLFreeHandle(2, 0x16ae950, 0, 0)                          = 0



All from rlm_sql_unixodbc.so:

SQLAllocHandle(3, 0x1b77a60, 0x1b6ff30, 0x7f99c886b74d)                 = 0
SQLAllocHandle(1, 0, 0x1be7040, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1bd9d20, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1bd9d20, 0x1be7048, 0)                              = 0
SQLAllocHandle(3, 0x1bda320, 0x1be7050, 0x7f99c886b74d)                 = 0
SQLAllocHandle(1, 0, 0x1c11ea0, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1bd4ce0, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1bd4ce0, 0x1c11ea8, 0)                              = 0
SQLAllocHandle(3, 0x1bd52e0, 0x1c11eb0, 0x7f99c886b74d)                 = 0
SQLAllocHandle(1, 0, 0x1c0e7a0, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1c19d60, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1c19d60, 0x1c0e7a8, 0)                              = 0
SQLAllocHandle(3, 0x1c1a360, 0x1c0e7b0, 0x7f99c886b74d)                 = 0
SQLAllocHandle(1, 0, 0x1c61710, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1c41310, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1c41310, 0x1c61718, 0)                              = 0
SQLAllocHandle(3, 0x1c41910, 0x1c61720, 0x7f99c886b74d)                 = 0
SQLNumResultCols(0x1be5820, 0x7ffe6b844d76, 0, 0)                       = 0
SQLBindCol(0x1be5820, 1, 1, 0x1cb1c10)                                  = 0
SQLBindCol(0x1be5820, 2, 1, 0x1cb21e0)                                  = 0
SQLBindCol(0x1be5820, 3, 1, 0x1cb2290)                                  = 0
SQLBindCol(0x1be5820, 4, 1, 0x1ccbdd0)                                  = 0
SQLBindCol(0x1be5820, 5, 1, 0x1cb1ad0)                                  = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1be5820, 0, 0, 0xe4bca5c0)                                = 0
SQLNumResultCols(0x1be5820, 0x7ffe6b844d76, 0, 0)                       = 0
SQLBindCol(0x1be5820, 1, 1, 0x1cb1ad0)                                  = 0
SQLBindCol(0x1be5820, 2, 1, 0x1cb16f0)                                  = 0
SQLBindCol(0x1be5820, 3, 1, 0x1cb1500)                                  = 0
SQLBindCol(0x1be5820, 4, 1, 0x1ccc000)                                  = 0
SQLBindCol(0x1be5820, 5, 1, 0x1ccc170)                                  = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1be5820, 0, 0, 0xe4bca500)                                = 0
SQLAllocHandle(1, 0, 0x1cccb80, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1cccbb0, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1cccbb0, 0x1cccb88, 0)                              = 0
SQLAllocHandle(3, 0x1ccd1b0, 0x1cccb90, 0x7f99c886b74d)                 = 0
SQLNumResultCols(0x1be5820, 0x7ffe6b844c96, 0, 0)                       = 0
SQLBindCol(0x1be5820, 1, 1, 0x1cb1500)                                  = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1be5820, 0, 0, 0xe4bca500)                                = 0
SQLNumResultCols(0x1c00590, 0x7ffe6b844d76, 0, 0)                       = 0
SQLBindCol(0x1c00590, 1, 1, 0x1cbc8c0)                                  = 0
SQLBindCol(0x1c00590, 2, 1, 0x1cbc6b0)                                  = 0
SQLBindCol(0x1c00590, 3, 1, 0x1cbc190)                                  = 0
SQLBindCol(0x1c00590, 4, 1, 0x1d115d0)                                  = 0
SQLBindCol(0x1c00590, 5, 1, 0x1cbc760)                                  = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0)                       = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1c00590, 0, 0, 0xe4bca5c0)                                = 0
SQLNumResultCols(0x1c00590, 0x7ffe6b844d76, 0, 0)                       = 0
SQLBindCol(0x1c00590, 1, 1, 0x1cbbcb0)                                  = 0
SQLBindCol(0x1c00590, 2, 1, 0x1cbcf80)                                  = 0
SQLBindCol(0x1c00590, 3, 1, 0x1cbd030)                                  = 0
SQLBindCol(0x1c00590, 4, 1, 0x1d121d0)                                  = 0
SQLBindCol(0x1c00590, 5, 1, 0x1d12340)                                  = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1c00590, 0, 0, 0xe4bca500)                                = 0
SQLNumResultCols(0x1c00590, 0x7ffe6b844c96, 0, 0)                       = 0
SQLBindCol(0x1c00590, 1, 1, 0x1cbcf80)                                  = 0
SQLFetch(0x1c00590, 0x1b4c150, 0x7ffe6b844e90, 0) 
= 100
SQLFreeStmt(0x1c00590, 0, 0, 0xe4bca500)                                = 0
SQLNumResultCols(0x1c4e0f0, 0x7ffe6b8459f6, 0, 0)                       = 0
SQLBindCol(0x1c4e0f0, 1, 1, 0x1d111c0)                                  = 0
SQLFetch(0x1c4e0f0, 0x1b4c150, 0x7ffe6b845ad8, 0)                       = 0
SQLFreeStmt(0x1c4e0f0, 0, 0, 0xe4bca500)                                = 0
SQLNumResultCols(0x1be5820, 0x7ffe6b8459f6, 0, 0)                       = 0
SQLBindCol(0x1be5820, 1, 1, 0x1cbb8e0)                                  = 0
SQLFetch(0x1be5820, 0x1b4c150, 0x7ffe6b845ad8, 0)                       = 0
SQLFreeStmt(0x1be5820, 0, 0, 0xe4bca500)                                = 0
SQLAllocHandle(1, 0, 0x1cacc60, 0xe4bca5c0)                             = 0
SQLSetEnvAttr(0x1d11f50, 200, 3, 0)                                     = 0
SQLAllocHandle(2, 0x1d11f50, 0x1cacc68, 0)                              = 0
SQLAllocHandle(3, 0x1cb25e0, 0x1cacc70, 0x7f99c886b74d)                 = 0


More information about the Freeradius-Users mailing list