From 6493fa5c7f616520eed25c2357914afe80c9eb56 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 30 Oct 2021 11:21:00 +0800 Subject: Code documentation and bug fixes ... * Add convenience function prne_sfree_str() * Use prne_sfree_str() to scrub off sensitive data * Making the brute force login vector optional BNE param cred_dict can be null * Use O_EXCL when creating temporary files * Fix bug where bne_cb_uptime() returns the up time of the child process, not the parent --- src/util_rt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util_rt.h') diff --git a/src/util_rt.h b/src/util_rt.h index f7b10af..b60bedd 100644 --- a/src/util_rt.h +++ b/src/util_rt.h @@ -51,6 +51,7 @@ char *prne_alloc_str (const size_t len); char *prne_realloc_str (char *old, const size_t len); char *prne_dup_str (const char *str); char *prne_redup_str (char *old, const char *str); +void prne_sfree_str (char *s); void prne_free (void *ptr); size_t prne_getpagesize (void); -- cgit