Skip to content

Commit 046cacb

Browse files
author
Viktor Tymchynskyi
committed
MAGETWO-39948: Security scan, global scope variables (#15723882, #15723890)
- Add EXTR_SKIP flag that deny variable overriding if it already exists
1 parent 375077a commit 046cacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/AbstractEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ protected function _prepareStaticValue($key, $value)
14131413
*/
14141414
protected function _processSaveData($saveData)
14151415
{
1416-
extract($saveData);
1416+
extract($saveData, EXTR_SKIP);
14171417
/**
14181418
* Import variables into the current symbol table from save data array
14191419
*

0 commit comments

Comments
 (0)