mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Fix SEGV if mdb-array is given a bad filename
See bug repport at: http://www.forallsecure.com/bug-reports/d256a6f86b05b4ca0a1d7097b64e7c6bcd98de6d/
This commit is contained in:
@@ -46,6 +46,8 @@ int started;
|
||||
}
|
||||
|
||||
mdb = mdb_open (argv [1], MDB_NOFLAGS);
|
||||
if (!mdb)
|
||||
exit(1);
|
||||
|
||||
table = mdb_read_table_by_name (mdb, argv[2], MDB_TABLE);
|
||||
if (table)
|
||||
|
Reference in New Issue
Block a user