diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-06-12 23:45:55 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-12 23:45:55 +0000 |
commit | 8a9860462fd1ae57861b93426c49df0396145832 (patch) | |
tree | 4f18c34d7301a6720010f64e6f772cb50780df86 /user/chntpw/chntpw-140201-get_abs_path.patch | |
parent | be87f4ccc042f1b8a9db033ff5f52692b3138bc2 (diff) | |
download | packages-8a9860462fd1ae57861b93426c49df0396145832.tar.gz packages-8a9860462fd1ae57861b93426c49df0396145832.tar.bz2 packages-8a9860462fd1ae57861b93426c49df0396145832.tar.xz packages-8a9860462fd1ae57861b93426c49df0396145832.zip |
user/chntpw: new port
Diffstat (limited to 'user/chntpw/chntpw-140201-get_abs_path.patch')
-rw-r--r-- | user/chntpw/chntpw-140201-get_abs_path.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user/chntpw/chntpw-140201-get_abs_path.patch b/user/chntpw/chntpw-140201-get_abs_path.patch new file mode 100644 index 000000000..c9f1a3dec --- /dev/null +++ b/user/chntpw/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); |