Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3e8458a3
Commit
3e8458a3
authored
Aug 21, 2012
by
Cody Cutler
Committed by
Mike Hibler
Aug 21, 2012
Browse files
Actually use the new pcomp size
(cherry picked from commit 030f0a93e4449d4006682fb84777e505e366b7ef)
parent
724e75ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
3e8458a3
...
...
@@ -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 %
255
s"
,
newstate
,
quote
,
pcomp
)
!=
3
||
sscanf
(
rdata
,
"%127s %1023s %
1023
s"
,
newstate
,
quote
,
pcomp
)
!=
3
||
strlen
(
newstate
)
+
1
==
sizeof
(
newstate
)
||
strlen
(
quote
)
+
1
==
sizeof
(
quote
)
||
strlen
(
pcomp
)
+
1
==
sizeof
(
pcomp
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment