use memset_s
lib roken includes support for memset_s() but it was not applied to the Heimdal source tree. Change-Id: I8362ec97a9be50205bb2d398e65b629b88ce1acd
This commit is contained in:
@@ -90,7 +90,7 @@ calc(struct md2 *m, const void *v)
|
||||
}
|
||||
|
||||
memcpy(m->state, x, 16);
|
||||
memset(x, 0, sizeof(x));
|
||||
memset_s(x, sizeof(x), 0, sizeof(x));
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user