Fluorohydride / ygopro

A script engine for "yu-gi-oh!" and sample gui
GNU General Public License v2.0
1.85k stars 596 forks source link

Use local variable in ServerEchoRead, ClientRead #2562

Closed salix5 closed 5 months ago

salix5 commented 5 months ago

One of the problems found in #2551: The server copies the packet of user A and user B into the same global array. So the packet of A can be revealed or reused if the server did not check the packet of B very carefully.

Solution:

@mercury233 @purerosefallen