| 1 | Descriptionscip-debian debian chntpw 140201-1.3 chntpw/patches/04_get_abs_path#Description.: Fix absolute path |
| 2 | Forwardedscip-debian debian chntpw 140201-1.3 chntpw/patches/04_get_abs_path#Forwarded.: no |
| 3 | Authorscip-debian debian chntpw 140201-1.3 chntpw/patches/04_get_abs_path#Author.: Unknown |
| 4 | --- a/ntreg.cscip-debian debian chntpw 140201-1.3 chntpw/upstream/`ntreg.c`: |
| 5 | +++ b/ntreg.cscip-debian debian chntpw 140201-1.3 chntpw/upstream/`ntreg.c`: |
| 6 | @@ -1511,6 +1511,7 @@ |
| 7 | } |
| 8 | |
| 9 | strncpy(tmp,path,ABSPATHLEN-1); |
| 10 | + tmp[ABSPATHLEN-1] = '\0'; |
| 11 | |
| 12 | if (key->type & 0x20) |
| 13 | keyname = mem_str(key->keyname, key->len_name); |