(very good, btw). He suggests function strlcpy(3) as a secure API.In the same conference, though, Kees Cook ("Making C Less Dangerous in the Linux kernel"[2]), recommends strscpy() as more secure. So, my question is: what's the best to use?
Thanks in advance. [1] https://youtube.com/watch?v=9-uNC4-RbQM [2] https://youtube.com/watch?v=FY9SbqTO5GQ