camapplicationinfo: fix possible array overrun
This commit is contained in:
parent
83b5b29639
commit
ed0bdc4910
@ -121,7 +121,7 @@ handle_application_info_reply (CamApplicationInfo * info,
|
|||||||
{
|
{
|
||||||
guint8 type;
|
guint8 type;
|
||||||
guint8 menu_length;
|
guint8 menu_length;
|
||||||
gchar menu[255];
|
gchar menu[256];
|
||||||
|
|
||||||
type = buffer[0];
|
type = buffer[0];
|
||||||
menu_length = buffer[5];
|
menu_length = buffer[5];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user