Code: alloc_limit_assert (char *fn_name, size_t size)
 {
     if (alloc_limit && size > alloc_limit)
     {
	alloc_limit_failure (fn_name, size);
	exit (-1);
     }
 }

Vulnerability Type: Overflow 
CWE ID: CWE-190
Summary: An issue was discovered in tnef before 1.4.13. Several Integer Overflows, which can lead to Heap Overflows, have been identified in the functions that wrap memory allocation.
Commit Message: Fix integer overflows and harden memory allocator.