Skip to content

Commit

Permalink
Merge pull request #95 from ohwgiles/increase-attachment-size-512mib
Browse files Browse the repository at this point in the history
increase attachment size to 512MiB
  • Loading branch information
Yeraze authored Jun 24, 2021
2 parents 564c7f1 + 00e0630 commit f80f624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ytnef.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ int TNEFFillMapi(TNEFStruct *TNEF, BYTE *data, DWORD size, MAPIProps *p) {
// now actual object
if (vl->size != 0) {
SIZECHECK(vl->size);
PREALLOCCHECK(vl->size, 100000);
PREALLOCCHECK(vl->size, 524288);
if (PROP_TYPE(mp->id) == PT_UNICODE) {
vl->data =(BYTE*) to_utf8(vl->size, (char*)d);
if(vl->data == NULL)
Expand Down

0 comments on commit f80f624

Please sign in to comment.