mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°9379 - PHP unserialze function - security hardening
- ormcaselog index
This commit is contained in:
@@ -4829,7 +4829,7 @@ class AttributeCaseLog extends AttributeLongText
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($sIndex) > 0) {
|
if (strlen($sIndex) > 0) {
|
||||||
$aIndex = unserialize($sIndex);
|
$aIndex = utils::Unserialize($sIndex, ['allowed_classes' => false], false);
|
||||||
$value = new ormCaseLog($sLog, $aIndex);
|
$value = new ormCaseLog($sLog, $aIndex);
|
||||||
} else {
|
} else {
|
||||||
$value = new ormCaseLog($sLog);
|
$value = new ormCaseLog($sLog);
|
||||||
|
|||||||
Reference in New Issue
Block a user