mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <>
Subject Review Request 71599: Added validation against scalar overflow.
Date Wed, 09 Oct 2019 04:43:17 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Andrei Sekretenko and Meng Zhu.

Repository: mesos


Note that this input scalar validation is currently used during quota
validation as well as during parsing. This means resources passed as
strings will now include this overflow validation.

This validation is insufficient, it's still possible to use a very
large value close to the overflow point, and have some addition occur
later leading to overflow and a crash. But, it's better than nothing.


  src/common/validation.cpp 14a8c7b9d70c303b527e5e43012999471ced2d78 
  src/common/values.cpp 75203824a1016eae7088bee19e61ee8cf8d3a660 
  src/v1/values.cpp 6193dbd8bad7f060e6bb2c18e3984c4a4b061ab6 



make check


Benjamin Mahler

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message