Displaying 1 result from an estimated 1 matches for "strnlcpi".
Did you mean:
strnlcpy
2008 Mar 08
0
[PATCH 1/1] : PCI detection code doesn't corrupt memory anymore (2nd try)
From : Erwan Velu <erwan.velu at free.fr>
This patch fixes the pci detection stuff demo'd in pcitest.c32
- Fix a wrong type in malloc
- Incorrect use of strdup
- Replacing strncpy by strnlcpy (thx hpa)
This two fixes makes pcitest.c32 working far better, no more crash when
running it twice.
I'd like to thank Sebastian Herbszt for its reports and tests.
This patch was made for