[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150112.153211.1568185988607410812.davem@davemloft.net>
Date: Mon, 12 Jan 2015 15:32:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: me@...tis.eu
Cc: linux-kernel@...r.kernel.org, dsterba@...e.cz, mac@...ware.de,
isdn@...ux-pingi.de, netdev@...r.kernel.org
Subject: Re: [PATCH RESEND] isdn: fix NUL (\0 or \x00) specification in
string
From: Giel van Schijndel <me@...tis.eu>
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@...tis.eu>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists