Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/04/28 12:0 a.m.9 views

High Gas Costs Due to Unnecessary String Iteration in HexUtils Library's hexStringToBytes32() Function.

Lines of code Vulnerability details Impact The hexStringToBytes32 function in the HexUtils library iterates over the entire input string, even though only a portion of it is needed to compute the output, but still, this can lead to unnecessarily high gas costs, especially for large input strings...

6.6AI score
SaveExploits0
Code423n4
Code423n4
added 2023/04/28 12:0 a.m.6 views

HexUtils.hexStringToBytes32() and HexUtils.hexToAddress() may return incorrect results

Lines of code Vulnerability details Impact The HexUtils.hexStringToBytes32 and HexUtils.hexToAddress may return incorrect results if the input data provided is not in a standard format. This could cause the contract to behave abnormally in some scenarios or be exploited for malicious purposes...

6.8AI score
SaveExploits0
Rows per page
Query Builder