mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-06-28 15:39:02 +08:00
Fix segmentation fault
This commit is contained in:
parent
160418635d
commit
22beb78295
@ -1,3 +1,6 @@
|
||||
Thu Jun 16 21:19:37 CDT 2005 Jeff Smith <whydoubt@yahoo.com>
|
||||
* src/libmdb/data.c: Fix segmentation fault
|
||||
|
||||
Mon May 2 07:28:58 CDT 2005 Jeff Smith <whydoubt@yahoo.com>
|
||||
* include/mdbtools.h:
|
||||
* src/libmdb/data.c:
|
||||
|
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user