File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Version 1.1.29 under development
77- Bug #4516: PHP 8 compatibility: Allow union types and intersection types in action declarations (wtommyw)
88- Bug #4523: Fixed translated in Greek class messages in framework requirements view, which they should not be translated (lourdas)
99- Bug #4534: PHP 8.2 compatibility: Fix deprecated dynamic properties in gii/components/Pear/Text/Diff (mdeweerd, marcovtwout)
10+ - Bug: CVE-2023-47130. Prevent RCE when deserializing untrusted user input (ma4ter222, marcovtwout)
1011- Enh #4529: Exceptions thrown while loading fixture file rows now contain more details (eduardor2k)
1112- Enh #4533: Various refactorings applied based on PHAN checks (marcovtwout)
1213
Original file line number Diff line number Diff line change @@ -197,10 +197,17 @@ public function __wakeup()
197197 foreach ($ sqlContentFieldNames as $ field )
198198 {
199199 if (is_array ($ this ->$ field ))
200+ {
200201 foreach ($ this ->$ field as $ k =>$ v )
201- $ this ->{$ field }[$ k ]=strtr ($ v ,$ map );
202- else
202+ {
203+ if (is_scalar ($ v ))
204+ $ this ->{$ field }[$ k ]=strtr ($ v ,$ map );
205+ }
206+ }
207+ elseif (is_scalar ($ this ->$ field ))
208+ {
203209 $ this ->$ field =strtr ($ this ->$ field ,$ map );
210+ }
204211 }
205212 }
206213 $ this ->params =$ params ;
You can’t perform that action at this time.
0 commit comments