mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- Check for illegal characters for short file names in RtlIsNameLegalDOS8Dot3.
svn path=/trunk/; revision=6920
This commit is contained in:
parent
a060d87754
commit
24c6c9673c
2 changed files with 12 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: dos8dot3.c,v 1.7 2003/10/11 17:38:42 hbirr Exp $
|
||||
/* $Id: dos8dot3.c,v 1.8 2003/12/08 19:47:07 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -311,6 +311,11 @@ RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
|
|||
return(FALSE);
|
||||
HasDot = TRUE;
|
||||
break;
|
||||
default:
|
||||
if (RtlpIsShortIllegal(*str))
|
||||
{
|
||||
return(FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: dos8dot3.c,v 1.8 2003/10/11 17:38:42 hbirr Exp $
|
||||
/* $Id: dos8dot3.c,v 1.9 2003/12/08 19:47:07 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -312,6 +312,11 @@ RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
|
|||
return(FALSE);
|
||||
HasDot = TRUE;
|
||||
break;
|
||||
default:
|
||||
if (RtlpIsShortIllegal(*str))
|
||||
{
|
||||
return(FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue