diff options
author | David Timber <mieabby@gmail.com> | 2021-10-30 11:21:00 +0800 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-10-30 11:21:00 +0800 |
commit | 6493fa5c7f616520eed25c2357914afe80c9eb56 (patch) | |
tree | 1c603ac9b4e15a727e9b88d720c2ef855dc61022 /src/proone.c | |
parent | a932a46545c16fb0e42ccc5a4c43b7d67d152545 (diff) |
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
Diffstat (limited to 'src/proone.c')
-rw-r--r-- | src/proone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proone.c b/src/proone.c index a5375f4..b81a91d 100644 --- a/src/proone.c +++ b/src/proone.c @@ -1335,7 +1335,7 @@ static void bne_cb_exit_dd (void *ctx) { static uint64_t bne_cb_uptime (void *ctx) { return prne_sub_timespec( prne_gettime(CLOCK_MONOTONIC), - prne_g.child_start).tv_sec; + prne_g.parent_start).tv_sec; } static int bne_cb_vercmp (void *ctx, const uint8_t *uuid) { |