Verify that the value passed to fid doesn't exceed the maximum value the field is able to contain

KiamLaLuno - July 5, 2009 - 03:54
Project:Custom filter
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:fixed
Description

As consequence of #510484: Incorrect definition of the fid database field, the code must verify that it doesn't assign to fid a value that the database field cannot contain.

The limit is caused by filter.module, which saves the delta value obtained from the modules in a database field that is defined as a tiny integer, which has the size of a byte (in MySQL), or two bytes (in PostgreSQL).

#1

KiamLaLuno - July 6, 2009 - 02:37
Version:6.x-1.x-dev» 6.x-2.x-dev

Let us try again; first, the code must be changed in branch 6.x-2.

#2

KiamLaLuno - November 6, 2009 - 16:46

The code has been changed for both the branches, and committed in CVS.

#3

KiamLaLuno - November 6, 2009 - 16:46
Status:active» fixed
 
 

Drupal is a registered trademark of Dries Buytaert.