mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix a braino in ccd's clone routine.
Submitted by: tegge
This commit is contained in:
parent
75fab00593
commit
896dba5a0c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71773
@ -296,7 +296,7 @@ ccd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (u >= numccd)
|
||||
return;
|
||||
if (*s <= 'a' || *s >= 'h')
|
||||
if (*s < 'a' || *s > 'h')
|
||||
return;
|
||||
if (s[1] != '\0')
|
||||
return;
|
||||
|
@ -296,7 +296,7 @@ ccd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (u >= numccd)
|
||||
return;
|
||||
if (*s <= 'a' || *s >= 'h')
|
||||
if (*s < 'a' || *s > 'h')
|
||||
return;
|
||||
if (s[1] != '\0')
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user