This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parser: fix parsing of large integers on i686 systems.
Our integer packets are set in int32_t for size, but parsing them involved an intermediary strtol(), which could overflow on our inputs on 32 bit systems. By moving to strtoll() we stay safe on both 64/32-bit systems. Signed-off-by: Gustavo Lima Chaves <gustavo.lima.chaves@intel.com>
- Loading branch information