bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-patch] [PATCH] terminate readlink string


From: Andreas Grünbacher
Subject: Re: [bug-patch] [PATCH] terminate readlink string
Date: Sun, 12 Jul 2015 15:53:15 +0200

Tobias,

2015-07-12 11:21 GMT+02:00 Tobias Stoeckmann <address@hidden>:
> The function readlink does not nul terminate its result string.
> safe_readlink is a wrapper for readlinkat, which has the same
> behaviour.  Therefore, explicitly set '\0' and reserve one byte for it.

looking good. I've increased the buffer size by a byte.

Thanks,
Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]