From 11d54e8f0da96d355b8dff17af8d5aa6bb3386db Mon Sep 17 00:00:00 2001 From: George Marshall Date: Mon, 16 Nov 2015 22:28:03 -0800 Subject: [1.9.x] Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL. Backport of 710e11d076b9e5ef3e3b486dfb70bb55b788691c from master --- docs/releases/1.8.7.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.7.txt b/docs/releases/1.8.7.txt index b11ea9781a..25f7712f10 100644 --- a/docs/releases/1.8.7.txt +++ b/docs/releases/1.8.7.txt @@ -46,3 +46,8 @@ Bugfixes * Fixed ``set_FOO_order()`` crash when the ``ForeignKey`` of a model with ``order_with_respect_to`` references a model with a ``OneToOneField`` primary key (:ticket:`25786`). + +* Fixed incorrect validation for ``PositiveIntegerField`` and + ``PositiveSmallIntegerField`` on MySQL resulting in values greater than + 4294967295 or 65535, respectively, passing validation and being silently + truncated by the database (:ticket:`25767`). -- cgit v1.3