\r
**/\r
\r
-//\r
-// Include common header file for this module.\r
-//\r
+\r
\r
\r
#include "MemLibInternals.h"\r
IN UINTN Length\r
)\r
{\r
- if (0 == Length) {\r
+ if (Length == 0 || DestinationBuffer == SourceBuffer) {\r
return 0;\r
}\r
ASSERT (DestinationBuffer != NULL);\r