openssh-unix-dev May 2011 archive
Main Archive Page > Month Archives  > openssh-unix-dev archives
openssh-unix-dev: Bug found in openssh 5.8p1 source

Bug found in openssh 5.8p1 source

From: Rick Stevens <ricks_at_nospam>
Date: Wed May 18 2011 - 02:19:40 GMT
To: openssh-unix-dev@mindrot.org

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