mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 02:09:49 +08:00
Fix segmentation fault
This commit is contained in:
@@ -668,7 +668,8 @@ static char *mdb_memo_to_string(MdbHandle *mdb, int start, int size)
|
||||
return text;
|
||||
} else {
|
||||
fprintf(stderr, "Unhandled memo field flags = %02x\n", memo_len >> 24);
|
||||
return "";
|
||||
strcpy(text, "");
|
||||
return text;
|
||||
}
|
||||
}
|
||||
static char *
|
||||
|
||||
Reference in New Issue
Block a user