diff options
author | Auke Kok <sofar@foo-projects.org> | 2016-06-11 17:09:07 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2016-06-11 17:09:07 -0700 |
commit | f76668969e69b1410d9fe1db07b4326cffdb58b0 (patch) | |
tree | bc42cef75899dda4cfa7e182aac48583b5578f9a /models | |
parent | 32f331e7c4de3c5e130eff55ede475f9b212463a (diff) | |
download | pipeworks-f76668969e69b1410d9fe1db07b4326cffdb58b0.tar pipeworks-f76668969e69b1410d9fe1db07b4326cffdb58b0.tar.gz pipeworks-f76668969e69b1410d9fe1db07b4326cffdb58b0.tar.bz2 pipeworks-f76668969e69b1410d9fe1db07b4326cffdb58b0.tar.xz pipeworks-f76668969e69b1410d9fe1db07b4326cffdb58b0.zip |
Do not trust node.param2.
The table lookup will fail if node.param2 is outside [0-3] which
is easily possible since there are several ways to modify param2
values of nodes. Force truncating param2 to always be 0-3 before
using it in a table lookup.
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions