Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: d65b183f92446a3a2855c1c7dd4a7a1b760af381
https://github.com/tianocore/edk2/commit/d65b183f92446a3a2855c1c7dd4a7a1b760af381
Author: Nickle Wang <[email protected]>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M RedfishPkg/Library/JsonLib/load.c
M RedfishPkg/PrivateLibrary/RedfishCrtLib/RedfishCrtLib.c
Log Message:
-----------
RedfishPkg/RedfishCrtLib: handle floating point number in JSON
When the value type is defined as number in Redfish schema, floating
point number is allowed. RedfishCrtLib raises assert without handling
this case now. Follow the way in EDK2 to call AsciiStrDecimalToUintnS
and handle the floating point number. Only the integer value is
returned.
Signed-off-by: Nickle Wang <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Igor Kulchytskyy <[email protected]>
Cc: Nick Ramirez <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits