mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 09:24:08 +03:00
Check for Null strings, white-only strings
date 2005.01.25.17.41.00; author rmoore1; state Exp;
This commit is contained in:
parent
e8227549cc
commit
6c4555021f
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: utmisc - common utility procedures
|
||||
* $Revision: 1.104 $
|
||||
* $Revision: 1.105 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -517,6 +517,13 @@ AcpiUtStrtoul64 (
|
||||
String++;
|
||||
}
|
||||
|
||||
/* Any string left? */
|
||||
|
||||
if (!(*String))
|
||||
{
|
||||
goto ErrorExit;
|
||||
}
|
||||
|
||||
/* Main loop: convert the string to a 64-bit integer */
|
||||
|
||||
while (*String)
|
||||
|
Loading…
x
Reference in New Issue
Block a user