Re: [PATCH RESEND] isdn: fix NUL (\0 or \x00) specification in string
From: David Miller
Date: Mon Jan 12 2015 - 15:35:16 EST
From: Giel van Schijndel <me@xxxxxxxxx>
Date: Wed, 7 Jan 2015 20:10:12 +0100
> 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.
>
> Signed-off-by: Giel van Schijndel <me@xxxxxxxxx>
> Reported-at: http://www.viva64.com/en/b/0299/
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/