[Bug 199486] usr.bin/make switch from memcpy() to memmove() for copying between overlapping buffers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 16 16:25:51 UTC 2015
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 at FreeBSD.org
Reporter: venture37 at 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.
More information about the freebsd-bugs
mailing list