Vulnerability Overview A logic flaw exists in the codec of the FreeRDP project. In the function, the field of the structure was not being updated immediately after memory allocation ( ). This could lead to subsequent operations using an outdated or incorrect value, potentially causing undefined behavior or logic errors. Affected Scope Project: FreeRDP (FreeRDP/FreeRDP) File: Function: Affected Structure: Fix Description The code execution order in was adjusted. The assignment was moved to execute immediately after completes memory allocation/resizing, and before the operation. This ensures the field is correctly updated prior to any subsequent use. Key Code Change