| Summary: | Allow '%' expansion to work in ssh and ssh-add | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jason Prondak <jprondak> | ||||
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED DUPLICATE | ||||||
| Severity: | enhancement | ||||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Jason Prondak
2002-02-02 09:24:36 AEDT
Created attachment 18 [details]
patch to tildexpand.c and auth.c to allow '%' substitution everywhere
you leak memory every time you call expand_filename(). so the patch expands ~ first and then % ? hm, shouldn't there be only just _one_ interface. There is now (OpenBSD -current 20050606) a misc.c:percent_expand() function that you can use for things like this. Patches welcome. Closing as duplicate: this bug has been around longer, but Bug #1159 has a patch :) *** This bug has been marked as a duplicate of bug 1159 *** Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |