Changeset 91918 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Oct 21, 2021 1:09:34 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/net/netaddrstr2.cpp
r87524 r91918 291 291 } 292 292 293 if (u8Prefix == 0 || u8Prefix> 32)293 if (u8Prefix > 32) 294 294 return VERR_INVALID_PARAMETER; 295 295 … … 715 715 ++pszNext; 716 716 rc = RTStrToUInt8Ex(pszNext, &pszNext, 10, &u8Prefix); 717 if ( RT_FAILURE(rc) || rc == VWRN_TRAILING_CHARS)718 return VERR_INVALID_PARAMETER; 719 720 if (u8Prefix == 0 || u8Prefix> 128)717 if (rc != VINF_SUCCESS && rc != VWRN_TRAILING_SPACES) 718 return VERR_INVALID_PARAMETER; 719 720 if (u8Prefix > 128) 721 721 return VERR_INVALID_PARAMETER; 722 722
Note:
See TracChangeset
for help on using the changeset viewer.