bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-15 10:23 UTC
[Bug 1757] New: strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Summary: strdelim has a bug caused only one user with quote
Product: Portable OpenSSH
Version: 5.4p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: bitman.zhou at centrify.com
openssh-5.4p1/misc.c
154 /* Characters considered whitespace in strsep calls. */
155 #define WHITESPACE " \t\r\n"
156 #define QUOTE "\""
157
158 /* return next token in configuration line */
159 char *
160 strdelim(char **s)
161 {
...
179 } else {
180 *s[0] = '\0';
181 return (old);
182 }
...
It should be:
} else {
*s[0] = '\0';
*s += strspn(*s + 1, WHITESPACE) + 1;
return (old);
}
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-25 11:32 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Thanks for the report. Could you give an example of the bug? E.g. a
testcase of what this code does wrong.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-28 04:33 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757 --- Comment #2 from Bitman Zhou <bitman.zhou at centrify.com> --- To reproduce this bug, set AllowUsers to something like:> "user name 1" "user name 2"user name 2 won't be allowed to login> "user name a" userbuserb won't be allowed to login Thanks. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jul-02 04:22 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1708
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jul-02 04:23 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757 --- Comment #3 from Damien Miller <djm at mindrot.org> --- Created attachment 1893 --> https://bugzilla.mindrot.org/attachment.cgi?id=1893 /home/djm/misc-strdelim-quote.diff Patch version of proposed fix -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jul-02 04:31 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1893| |ok+
Flags| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jul-02 04:32 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Damien Miller <djm at mindrot.org> ---
patch applied, this will be in OpenSSH 5.6. Thanks.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:33 UTC
[Bug 1757] strdelim has a bug caused only one user with quote
https://bugzilla.mindrot.org/show_bug.cgi?id=1757
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #5 from Damien Miller <djm at mindrot.org> 2011-01-24 12:33:54
EST ---
Move resolved bugs to CLOSED after 5.7 release
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Possibly Parallel Threads
- [Bug 1794] New: sshd segfault when calling pam_authenticate() in pam_unix module which has option "try_first_pass"
- [Bug 1884] New: SSH login using password causes problem for NFS mounted home
- How to set file/folder permission flexibly in Samba
- Troubleshooting help?
- Troubleshooting help?