diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
commit | df247efec654e512242e4f4f1b0212034f9e01fe (patch) | |
tree | 25c02e16957f3aa613af30c140fd8e8a3d52fda6 /app/bin/helphelper.c | |
parent | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (diff) | |
parent | a5ade52caa489cf0a713e0f02b764000d203140e (diff) |
Merge branch 'release/debian/1%5.2.0Beta2.1-1' into masterdebian/1%5.2.0Beta2.1-1
Diffstat (limited to 'app/bin/helphelper.c')
-rw-r--r-- | app/bin/helphelper.c | 1 |
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 ); |