diff options
author | Matteo Bernardini | 2021-04-04 19:30:02 +0200 |
---|---|---|
committer | Robby Workman | 2021-04-18 06:15:55 +0200 |
commit | 11004b0d104050b7072ed004bccd0020057d6584 (patch) | |
tree | 8fbf3b322d7afb36b9002953afb2beb211f1e4d1 /misc/chntpw/patches/chntpw-140201-get_abs_path.patch | |
parent | 6372209e5d9dc8c22e5c30e364a4d2037907ed60 (diff) | |
download | slackbuilds-11004b0d104050b7072ed004bccd0020057d6584.tar.gz |
misc/chntpw: Updated for version 140201.
Use libgcrypt instead of openssl, don't build static binaries
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/chntpw/patches/chntpw-140201-get_abs_path.patch')
-rw-r--r-- | misc/chntpw/patches/chntpw-140201-get_abs_path.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/chntpw/patches/chntpw-140201-get_abs_path.patch b/misc/chntpw/patches/chntpw-140201-get_abs_path.patch new file mode 100644 index 0000000000..c9f1a3decc --- /dev/null +++ b/misc/chntpw/patches/chntpw-140201-get_abs_path.patch @@ -0,0 +1,10 @@ +--- chntpw-140201/ntreg.c.orig 2014-02-01 08:54:37.000000000 -0800 ++++ chntpw-140201/ntreg.c 2018-07-02 16:10:39.625152640 -0700 +@@ -1511,6 +1511,7 @@ + } + + strncpy(tmp,path,ABSPATHLEN-1); ++ tmp[ABSPATHLEN-1] = '\0'; + + if (key->type & 0x20) + keyname = mem_str(key->keyname, key->len_name); |