mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
VNC: Fix a memory clobblering bug
This commit is contained in:
@@ -370,8 +370,8 @@ struct rfb_setpixelformat_s
|
||||
struct rfb_setencodings_s
|
||||
{
|
||||
uint8_t msgtype; /* U8 Message type */
|
||||
uint8_t padding[3];
|
||||
uint8_t nencodings[4]; /* U32 Number of encodings */
|
||||
uint8_t padding;
|
||||
uint8_t nencodings[2]; /* U32 Number of encodings */
|
||||
uint8_t encodings[4]; /* S32 Encoding type, size = 4*nencodings */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user