mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
infoviewer.cpp: increase destination arrays to avoid possible truncation
Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab063cb04c
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-01-10 (Fri, 10 Jan 2020)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -340,7 +340,7 @@ void CInfoViewer::showRecordIcon (const bool show)
|
|||||||
int icon_y = box_y + box_h/2 - icon_h/2;
|
int icon_y = box_y + box_h/2 - icon_h/2;
|
||||||
int txt_y = box_y + (box_h + txt_h)/2;
|
int txt_y = box_y + (box_h + txt_h)/2;
|
||||||
|
|
||||||
char records_msg[8];
|
char records_msg[14];
|
||||||
|
|
||||||
if (rec_mode == CRecordManager::RECMODE_REC)
|
if (rec_mode == CRecordManager::RECMODE_REC)
|
||||||
{
|
{
|
||||||
@@ -1670,7 +1670,7 @@ void CInfoViewer::showSNR ()
|
|||||||
y_freq -= g_SignalFont->getHeight()/2; //half line up to center freq vertically
|
y_freq -= g_SignalFont->getHeight()/2; //half line up to center freq vertically
|
||||||
int y_numbox = numbox->getYPos();
|
int y_numbox = numbox->getYPos();
|
||||||
if ((newfreq && chanready) || SDT_freq_update) {
|
if ((newfreq && chanready) || SDT_freq_update) {
|
||||||
char freq[20];
|
char freq[22];
|
||||||
newfreq = false;
|
newfreq = false;
|
||||||
|
|
||||||
std::string polarisation = "";
|
std::string polarisation = "";
|
||||||
|
Reference in New Issue
Block a user