Lucene search
+L

LinearBondingCurve.log2 function contains an incorrect shift operation that could lead to wrong calculation.

🗓️ 17 Nov 2023 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 24 Views

LinearBondingCurve.log2 function has incorrect shift operation, leading to miscalculation. Assembly code shifts constants x and r in reverse order. Code link: <https://github.com/code-423n4/2023-11-canto/blob/335930cd53cf9a137504a57f1215be52c6d67cb3/1155tech-contracts/src/bonding_curve/LinearBondingCurve.sol#L51-L56

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation