summaryrefslogtreecommitdiff
path: root/app/bin/helphelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/helphelper.c')
-rw-r--r--app/bin/helphelper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/bin/helphelper.c b/app/bin/helphelper.c
index 013ff0a..36083b8 100644
--- a/app/bin/helphelper.c
+++ b/app/bin/helphelper.c
@@ -117,6 +117,7 @@ main( int argc, char **argv )
if( numBytes == sizeof(int)) {
printf( "HelpHelper: Expecting %d bytes\n", len );
numBytes2 = read( handleOfPipe, buffer, len + 1 );
+ buffer[numBytes2] = '\0';
if (numBytes2 > 0)
printf( "HelpHelper: Display help on: %s\n", buffer );