Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
147f3f2e
Commit
147f3f2e
authored
Mar 31, 2004
by
John van Groningen
Browse files
don't overwrite first byte of next node in the heap with a '\0'
in function get_command
parent
e4704548
Changes
1
Hide whitespace changes
Inline
Side-by-side
main/Unix/ipc.c
View file @
147f3f2e
...
...
@@ -106,8 +106,6 @@ int get_command (CleanString cleanString)
{
log
(
"%s
\n
"
,
command_buffer
);
strncpy
(
cleanString
->
chars
,
command_buffer
,
cleanString
->
length
);
cleanString
->
chars
[
cleanString
->
length
]
=
'\0'
;
return
(
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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