Re: [PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-07 Thread Andy Shevchenko
On Wed, Jan 7, 2015 at 2:22 PM, David Sterba wrote: > On Tue, Jan 06, 2015 at 08:28:04PM +0100, Giel van Schijndel wrote: >> On Mon, Jan 05, 2015 at 16:00:26 +0100, David Sterba wrote: >> > I'm replying to all your recent patches here as they are fixing things >> > reported in http://www.viva64.co

Re: [PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-07 Thread David Sterba
On Tue, Jan 06, 2015 at 08:28:04PM +0100, Giel van Schijndel wrote: > On Mon, Jan 05, 2015 at 16:00:26 +0100, David Sterba wrote: > > I'm replying to all your recent patches here as they are fixing things > > reported in http://www.viva64.com/en/b/0299/ . I'ts a good practice to > > give the credit

Re: [PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-06 Thread Giel van Schijndel
On Mon, Jan 05, 2015 at 16:00:26 +0100, David Sterba wrote: > I'm replying to all your recent patches here as they are fixing things > reported in http://www.viva64.com/en/b/0299/ . I'ts a good practice to > give the credit the reporter. > > The blogpost also contains analyses of the issues so it

Re: [PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-05 Thread David Sterba
I'm replying to all your recent patches here as they are fixing things reported in http://www.viva64.com/en/b/0299/ . I'ts a good practice to give the credit the reporter. The blogpost also contains analyses of the issues so it could help reviewing the patches. -- To unsubscribe from this list: se

Re: [PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-04 Thread Giel van Schijndel
On Sun, Jan 04, 2015 at 19:05:22 +0100, Giel van Schijndel wrote: > In C one can either use '\0' or '\x00' (or '\000') to add a NUL byte to > a string. '\0x00' isn't part of these and will in fact result in a > single NUL followed by "x00". This fixes that. > --- Forgot to: Signed-off-by: Giel van

[PATCH] Fix NUL (\0 or \x00) specification in string

2015-01-04 Thread Giel van Schijndel
In C one can either use '\0' or '\x00' (or '\000') to add a NUL byte to a string. '\0x00' isn't part of these and will in fact result in a single NUL followed by "x00". This fixes that. --- drivers/isdn/hardware/eicon/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr