# SiteSetting numbers not properly validated

**URL:** <https://meta.discourse.org/t/sitesetting-numbers-not-properly-validated/25026>\
**Category:** Bug\
**Created:** [February 9, 2015, 5:58pm UTC](https://meta.discourse.org/t/sitesetting-numbers-not-properly-validated/25026 "2015-02-09T17:58:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [February 9, 2015, 11:47pm UTC](https://meta.discourse.org/t/sitesetting-numbers-not-properly-validated/25026/4 "2015-02-09T23:47:37Z")

</div>

Assuming the value is a Postgre Int (signed 4 bytes) - negative values not used - the possible max value is

2,147,483,648 (if my maths serves me correctly)

Even if

999999999999999999999999999999999999999999999999999999999

was an overly extreme example it seems to me that accepting over 2 Billion is a more than generous

---

_[View the full topic](https://meta.discourse.org/t/sitesetting-numbers-not-properly-validated/25026)._
