Skip to content

Commit e470147

Browse files
[dfsan] Set sigemptyset's return label to be 0
This was not set from when the wrapper was introduced. Reviewed By: gbalats Differential Revision: https://reviews.llvm.org/D99678
1 parent e927053 commit e470147

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/dfsan/dfsan_custom.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,6 +1573,7 @@ int __dfsw_sigemptyset(sigset_t *set, dfsan_label set_label,
15731573
dfsan_label *ret_label) {
15741574
int ret = sigemptyset(set);
15751575
dfsan_set_label(0, set, sizeof(sigset_t));
1576+
*ret_label = 0;
15761577
return ret;
15771578
}
15781579

0 commit comments

Comments
 (0)