Re: [Firebird-devel] Null-termination of file link

2016-05-23 Thread Alex Peshkoff
On 05/21/2016 05:05 PM, Dimitry Sibiryakov wrote: > Hello, All. > > In config_file.cpp I see following piece of code: > >> if (PathUtils::isSymLink(tempPath)) >> { >> // If $(this) is a symlink, expand it. >> TEXT temp[MAXP

[Firebird-devel] Null-termination of file link

2016-05-21 Thread Dimitry Sibiryakov
Hello, All. In config_file.cpp I see following piece of code: > if (PathUtils::isSymLink(tempPath)) > { > // If $(this) is a symlink, expand it. > TEXT temp[MAXPATHLEN]; > const int n = readlink(fi