bugzilla-daemon at bugzilla.mindrot.org
2009-Jun-30  12:10 UTC
[Bug 1615] New: the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615
           Summary: the pathname length of home directory is limited to
                    less than 256 chars
           Product: Portable OpenSSH
           Version: 5.2p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: jchadima at redhat.com
Created an attachment (id=1656)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1656)
patch solving the problem
on some obscure instalation the $HOME is enormly long.
-- 
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
2009-Jul-01  01:53 UTC
[Bug 1615] the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au
--- Comment #1 from Darren Tucker <dtucker at zip.com.au>  2009-07-01
11:53:04 ---
Are you sure that's all that's needed?  That buf gets used with:
snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir,
_PATH_SSH_USER_CONFFILE);
which will also truncate.
-- 
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
2009-Jul-01  14:33 UTC
[Bug 1615] the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615 --- Comment #2 from jchadima at redhat.com 2009-07-02 00:33:18 --- Created an attachment (id=1657) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1657) the patch version 2 You are right. The patch#2 solves the whole problem. -- 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
2009-Jul-02  05:07 UTC
[Bug 1615] the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
--- Comment #3 from Darren Tucker <dtucker at zip.com.au>  2009-07-02
15:07:30 ---
We ended up with something similar but with some extra checks for
snprintf return values:
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh.c.diff?r1=text&tr1=1.325&r2=text&tr2=1.326
Thanks, this will be in the next 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.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-06  04:03 UTC
[Bug 1615] the pathname length of home directory is limited to less than 256 chars
https://bugzilla.mindrot.org/show_bug.cgi?id=1615
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #4 from Damien Miller <djm at mindrot.org> 2009-10-06 15:03:22
EST ---
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.
-- 
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.