Age | Commit message (Collapse) | Author |
|
strlcpy counts the sourec string lengt and is therefore not suitable
to copy a defined length of characters from one string to another.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
|
|
|
|
|
|
udevinfo segfaults cause klibc's strlcpy writes behind the specified
size of the destination string. strlcat truncates the destination
string which is also not what you expect from a concatenation function.
|
|
Thanks to Jim Gifford <maillist@jg555.com> for catching it.
|
|
In udev_libc_wrapper.c the paths to the local header files are wrong.
The attached patch fixes this.
|
|
|
|
The new libsysfs and klibc don't need that anymore.
Wrap getpwnam(), so we can use the built-in /etc/passwd
parser for statically compiled glibc binaries too.
|