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

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 t

[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 --- dlm/tool/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlm/tool/main.c b/dlm/tool/main.c index 4