Commit 7343e0d
ep_test_apis.cc: Avoid undefined behaviour upon zero length set
It's undefined to pass a null pointer to memcpy(). Replace with std::copy.
Change-Id: I5143bc0852f14d42ccf3f6199428f64e912ad3e1
Reviewed-on: http://review.couchbase.org/93765
Tested-by: Build Bot <[email protected]>
Reviewed-by: Trond Norbye <[email protected]>1 parent c0c1db1 commit 7343e0d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | | - | |
| 1092 | + | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| |||
0 commit comments