Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
ed3b5034
Commit
ed3b5034
authored
Aug 15, 2021
by
Shawn Webb
Browse files
Merge commit '
1eb32010
' into hardened/current/liblattzfs
parents
452abc8b
1eb32010
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/hardenedbsd/liblattzfs/src/liblattzfs.c
View file @
ed3b5034
...
...
@@ -22,6 +22,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define __STDC_WANT_LIB_EXT1__ 1
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
...
...
@@ -100,7 +102,7 @@ lattzfs_ctx_free(lattzfs_ctx_t **ctx)
}
free
(
ctxp
->
lc_pool_name
);
memset
(
ctxp
,
0
,
sizeof
(
*
ctxp
));
memset
_s
(
ctxp
,
sizeof
(
*
ctxp
),
0
,
sizeof
(
*
ctxp
));
free
(
ctxp
);
*
ctx
=
NULL
;
}
...
...
Shawn Webb
@shawn.webb
mentioned in commit
2c5418c5
·
Aug 18, 2021
mentioned in commit
2c5418c5
mentioned in commit 2c5418c51cc17eb1d8310b2618abc08a7b6b3db9
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment