Current-Users archive

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

Re: libedit

On Wed, Oct 09, 2019 at 10:52:54AM +0100, Patrick Welche wrote:
> here seems to be some sort of out by one error (/bin/sh):
> cd Ne[tab] -> cd NetBS
> That wasn't the case before this morning's update...

Trivial fix on the way: 

The stpncpy() and strncpy() functions copy at most len characters
The strlcpy() function copies up to size - 1 characters


Home | Main Index | Thread Index | Old Index