Messages in this thread | | | From | Andy Lutomirski <> | Date | Tue, 19 May 2015 11:44:41 -0700 | Subject | Re: [PATCH] x86, cpuinfo x86_model_id whitespace cleanup |
| |
On May 19, 2015 11:13 AM, "Borislav Petkov" <bp@alien8.de> wrote: > > On Tue, May 19, 2015 at 01:25:59PM -0400, Brian Gerst wrote: > > Using strlcpy in this manner could fail if it does larger than byte > > copies and they overlap. > > Why? > > AFAICT, strlcpy() calls memcpy() and memcpy should handle overlapping > buffers just fine.
Are you thinking of memmove?
--Andy
| |