mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fixed password decoding
Thanks Jimmy Taker compilation warning.
This commit is contained in:
parent
0bbe5d3ee6
commit
365f7959ed
@ -260,7 +260,7 @@ MdbHandle *mdb_open(const char *filename, MdbFileFlags flags)
|
||||
|
||||
/* get the db password located at 0x42 bytes into the file */
|
||||
for (pos=0;pos<14;pos++) {
|
||||
j = mdb_get_int32(mdb,0x42+pos);
|
||||
j = mdb_get_int32(mdb->pg_buf, 0x42+pos);
|
||||
j ^= key[pos];
|
||||
if ( j != 0)
|
||||
mdb->f->db_passwd[pos] = j;
|
||||
|
Loading…
Reference in New Issue
Block a user