Skip to content
Permalink
Browse files

Fix TALOS-2019-0854/CVE-2019-5065

  • Loading branch information...
vshymanskyy committed Aug 15, 2019
1 parent 632bd9a commit 8ead98dc63049499b5d78e57f5d6247a921a5ca1
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Blynk/BlynkProtocol.h
@@ -335,7 +335,10 @@ bool BlynkProtocol<Transp>::processInput(void)
BlynkParam::iterator it = param.begin();
if (it >= param.end())
return false;

strncpy(redir_serv, it.asStr(), 32);
redir_serv[31] = '\0';

if (++it < param.end())
redir_port = it.asLong();
BLYNK_LOG4(BLYNK_F("Redirecting to "), redir_serv, ':', redir_port);

0 comments on commit 8ead98d

Please sign in to comment.
You can’t perform that action at this time.