mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check.
authorIlya Enkovich <ilya.enkovich@intel.com>
Thu, 9 Apr 2015 10:11:30 +0000 (10:11 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 9 Apr 2015 10:11:30 +0000 (10:11 +0000)
commit3ba99d8a035e95aa93eb2fc56739f63c36582213
tree197c099455b92c4fccdc2a89f6f4d5cbb0d7ae2d
parent54414978ae4085ffce4bb00d802e29e35ed6d6b3
mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check.

libmpx/

* mpxwrap/mpx_wrappers.c (__mpx_wrapper_memmove): Add
zero length check.

gcc/testsuite/

* gcc.target/i386/mpx/memmove-zero-length.c: New.

From-SVN: r221944
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/memmove-zero-length.c [new file with mode: 0644]
libmpx/ChangeLog
libmpx/mpxwrap/mpx_wrappers.c