Source: unace-nonfree
Version: 2.5-7
BASE_LFN_GetCurrentDir() is defined as:
PCHAR BASE_LFN_GetCurrentDir(PCHAR Directory, size_t Size)
{
Directory = (PCHAR) getcwd(Directory, Size);
strcpy(Directory, BASE_LFN_LongName(Directory));
return Directory;
}
But BASE_LFN_LongName(Directory) returns just Directory. So strcpy(3) is
called with the same pointer as source and destination. This is
undefined behavior; the strings must not overlap.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org