Repository navigation
Conversation
The `PS_ENCODE_LOOP` does not protect the session hash table that it iterates over. Change it by temporarily creating a copy.
|
I'm always a fan of plugging UAF issues, so I have no problem with this unless @SakiTakamachi or @NattyNarwhal see something here that I don't. |
|
I don't think there is a practical ABI break (okay, the |
|
I think this is good to merge to earlier releases too. I don't think it's an ABI break for the reasons Christoph outlined. |
|
Maybe not per se ABI break, but it is an API break at least. A third party extension that uses |
I tried to look for users of |
Girgias
left a comment
There was a problem hiding this comment.
MSTM, will let RM decide where it can land.
|
Seems like there's not really a problem for the RMs to go lower than 8.4, but I will only push it to 8.4 because of the theoretical break and the fact that users are unlikely to encounter this anyway. If really necessary, it can always be backported. |
The
PS_ENCODE_LOOPdoes not protect the session hash table that it iterates over. Change it by temporarily creating a copy.Only applied on 8.4 because of the ABI break. That should be fine as no one should be writing malicious code like this in the first place.
Asking RMs for permission: @SakiTakamachi @NattyNarwhal @ericmann