-if ( !(dbm_file = dbfn_open(US"misc", O_RDWR, &dbblock, TRUE))
- || !(serial_record = dbfn_read(dbm_file, key))
+if ( !(dbm_file = dbfn_open(US"misc", O_RDWR, &dbblock, TRUE, TRUE))
+ || !(serial_record = dbfn_read_enforce_length(dbm_file, key, sizeof(dbdata_serialize)))