mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
Fix integer overflow
See oss-fuzz/28790
This commit is contained in:
@@ -1587,7 +1587,7 @@ SQLRETURN SQL_API SQLGetData(
|
||||
// returns text if old odbc
|
||||
case MDB_DATETIME:
|
||||
{
|
||||
struct tm tmp_t;
|
||||
struct tm tmp_t = { 0 };
|
||||
mdb_date_to_tm(mdb_get_double(mdb->pg_buf, col->cur_value_start), &tmp_t);
|
||||
|
||||
if (mdb_col_is_shortdate(col)) {
|
||||
|
||||
Reference in New Issue
Block a user