camapplicationinfo: fix possible array overrun

This commit is contained in:
Stefan Kost 2011-05-20 13:04:54 +03:00
parent 83b5b29639
commit ed0bdc4910

View file

@ -121,7 +121,7 @@ handle_application_info_reply (CamApplicationInfo * info,
{
guint8 type;
guint8 menu_length;
gchar menu[255];
gchar menu[256];
type = buffer[0];
menu_length = buffer[5];