Date: Thu, 16 Apr 2015 16:25:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199486] usr.bin/make switch from memcpy() to memmove() for copying between overlapping buffers Message-ID: <bug-199486-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199486 Bug ID: 199486 Summary: usr.bin/make switch from memcpy() to memmove() for copying between overlapping buffers Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: venture37@geeklan.co.uk Created attachment 155648 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155648&action=edit switch from memcpy() to memmove() in jobs.c Attached patch: Switches from memcpy() to memmove() when copying between overlapping buffers. Adds a description of what max is and handle i reaching it again. Taken from r1.79/1.80 of job.c from NetBSD, Issue with copying between overlapping buffers found via building on OpenBSD. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199486-8>