commit | 62058647994465aaa7329bd707cda6f4601b67c7 | [log] [tgz] |
---|---|---|
author | Giel van Schijndel <me@mortis.eu> | Wed Jan 07 20:10:12 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 12 15:31:35 2015 -0500 |
tree | 3f877a12582027201c34b45570079898b1fa7fe5 | |
parent | 81a07128214ec6658990194f49f1faa7597537d4 [diff] |
isdn: fix NUL (\0 or \x00) specification in string 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@mortis.eu> Reported-at: http://www.viva64.com/en/b/0299/ Signed-off-by: David S. Miller <davem@davemloft.net>