Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible integer overflow when serializing log_val_type. (#404)
We can see that the "custom" entrie of the log_val_type enum is set to 999. However, when this value is serialized, it is cast as 8bit unsigned integer which maximum value is 255. We type the enumeration to 8bit interger and we change the value of custom to 999 (given that 999 % 256 = 231).
- Loading branch information