kopia lustrzana https://github.com/etherkit/JTEncode
Fix wspr_encode buffer overflow
rodzic
9fedd042d4
commit
3fd4a16375
|
@ -201,8 +201,8 @@ void JTEncode::jt4_encode(const char * msg, uint8_t * symbols)
|
|||
*/
|
||||
void JTEncode::wspr_encode(const char * call, const char * loc, const int8_t dbm, uint8_t * symbols)
|
||||
{
|
||||
char call_[7];
|
||||
char loc_[5];
|
||||
char call_[12];
|
||||
char loc_[7];
|
||||
uint8_t dbm_ = dbm;
|
||||
strcpy(call_, call);
|
||||
strcpy(loc_, loc);
|
||||
|
|
Ładowanie…
Reference in New Issue