diff options
| -rw-r--r-- | compiler-rt/lib/dfsan/dfsan_custom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/dfsan/dfsan_custom.cc b/compiler-rt/lib/dfsan/dfsan_custom.cc index b4b97aa27a7..cdd2cda1fcd 100644 --- a/compiler-rt/lib/dfsan/dfsan_custom.cc +++ b/compiler-rt/lib/dfsan/dfsan_custom.cc @@ -796,7 +796,7 @@ __dfsw_socketpair(int domain, int type, int protocol, int sv[2], int ret = socketpair(domain, type, protocol, sv); *ret_label = 0; if (ret == 0) { - dfsan_set_label(0, sv, sizeof(sv)); + dfsan_set_label(0, sv, sizeof(*sv) * 2); } return ret; } |

