diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
commit | b55285a77da0e0b829e4ce8d7e09debaabc68e15 (patch) | |
tree | f622559ef65bbdd3e1c5bdb06098a8f89eec0563 /app/bin/helphelper.c | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | d1ae75703e1ed81d65ea16946dcdb77e7a13adc9 (diff) |
Merge branch 'feature/upstream' into develop
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 ); |