mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
camapplicationinfo: fix possible array overrun
This commit is contained in:
parent
83b5b29639
commit
ed0bdc4910
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue