Commit 3e8458a3 authored by Cody Cutler's avatar Cody Cutler Committed by Mike Hibler

Actually use the new pcomp size

(cherry picked from commit 030f0a93e4449d4006682fb84777e505e366b7ef)
parent 724e75ee
......@@ -5222,7 +5222,7 @@ COMMAND_PROTOTYPE(dosecurestate)
* Dig out state that the node is reporting and the quote
*/
if (rdata == NULL ||
sscanf(rdata, "%127s %1023s %255s", newstate, quote, pcomp) != 3 ||
sscanf(rdata, "%127s %1023s %1023s", newstate, quote, pcomp) != 3 ||
strlen(newstate) + 1 == sizeof(newstate) ||
strlen(quote) + 1 == sizeof(quote) ||
strlen(pcomp) + 1 == sizeof(pcomp)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment