Projects
Multimedia
vdr-plugin-mcli
vdr-mcli.buffersize.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vdr-mcli.buffersize.patch of Package vdr-plugin-mcli
Index: vdr-mcli-plugin/cam_menu.c =================================================================== --- vdr-mcli-plugin.orig/cam_menu.c +++ vdr-mcli-plugin/cam_menu.c @@ -401,9 +401,9 @@ int cCamMenu::CamFind () for (n = 0; n < nc_list->nci_num; n++) { netceiver_info_t *nci = nc_list->nci + n; //printf ("\nFound NetCeiver: %s \n", nci->uuid); - char buf[128]; + char buf[UUID_SIZE + 16]; Add (new cOsdItem ("Netceiver", osUnknown, false)); - snprintf (buf, 128, " %s: %s", "ID", nci->uuid); + snprintf (buf, sizeof(buf) - 1, " %s: %s", "ID", nci->uuid); Add (new cOsdItem (buf, osUnknown, false)); Add (new cOsdItem ("", osUnknown, false)); printf (" CAMS [%d]: \n", nci->cam_num);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.