geeeeeeeeek / IntelligentChineseChessSystem

:trophy: Chinese Chess (**象棋): UI and AI. Obsoleted. 不再维护.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal State Exposure in Rule.java Class

Allen23Z opened this issue · comments

I’ve identified a security vulnerability related to the exposure of the internal representation in the “Rule.java” class.
Bug1
chess.Rules.getNextMove(String, int[], Board) may expose an internal static state by storing a mutable object into a static field chess.Rules.pos