Mailing List Archive

Bug found in openssh 5.8p1 source
I was compiling the 5.8p1 source for CentOS 5.6 by installing the
CentOS 5.6 source RPM for 4.3p2 and stealing the configure command
they use to ensure I had all the same bits. I needed this to chroot
some SFTP users and need the "Match" operator. The configure went well
(once I had satisfied all the requirements).

Upon compiling, however, I hit a syntax error in one of the files.
In "openbsd-compat/port-linux.c", line 216 is missing an opening "{".

WAS:

if (path == NULL)
setfscreatecon(NULL);
return;
}

SHOULD BE:

if (path == NULL) {
setfscreatecon(NULL);
return;
}

Just thought you should know.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- ...Had this been an actual emergency, we would have fled in terror -
- and you'd be on your own, pal! -
----------------------------------------------------------------------
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Re: Bug found in openssh 5.8p1 source [ In reply to ]
On Wed, May 18, 2011 at 12:19 PM, Rick Stevens <ricks@alldigital.com> wrote:
[...]
> Upon compiling, however, I hit a syntax error in one of the files.
> In "openbsd-compat/port-linux.c", line 216 is missing an opening "{".

Thanks, this was fixed in the recently released 5.8p2.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev