Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646116
Collapse All | Expand All

(-)a/src/jail.c (-1 / +2 lines)
Lines 121-128 void make_jail_dir( char* dir ) Link Here
121
{
121
{
122
    for( ; *dir != '\0'; ++dir )
122
    for( ; *dir != '\0'; ++dir )
123
    {
123
    {
124
        if( *dir == '.' )
124
        if( dir[0] == '/' && dir[1] == '.' && dir[2] == '/' )
125
        {
125
        {
126
            ++dir;
126
            *dir = '\0';
127
            *dir = '\0';
127
            break;
128
            break;
128
	}
129
	}

Return to bug 646116