[Cluster-devel] [PATCH] dlm_tool: Trimming garbages at in Expecting reply output

2013-05-02 Thread Masatake YAMATO
The buffer used in Expecting reply of dlm_tool lockdebug output is used as C string (via printf %s) but not terminated with nul char. Signed-off-by: Masatake YAMATO yam...@redhat.com --- dlm/tool/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlm/tool/main.c

Re: [Cluster-devel] [PATCH] dlm_tool: Trimming garbages at in Expecting reply output

2013-05-02 Thread David Teigland
On Thu, May 02, 2013 at 09:19:21PM +0900, Masatake YAMATO wrote: The buffer used in Expecting reply of dlm_tool lockdebug output is used as C string (via printf %s) but not terminated with nul char. Yes, thanks. This was fixed for some time in dlm.git. I'm afraid we'll need to go through the

Re: [Cluster-devel] [PATCH] dlm_tool: Trimming garbages at in Expecting reply output

2013-05-02 Thread Masatake YAMATO
On Thu, May 02, 2013 at 09:19:21PM +0900, Masatake YAMATO wrote: The buffer used in Expecting reply of dlm_tool lockdebug output is used as C string (via printf %s) but not terminated with nul char. Yes, thanks. This was fixed for some time in dlm.git. I'm afraid we'll need to go through