Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 62058647 authored by Giel van Schijndel's avatar Giel van Schijndel Committed by David S. Miller
Browse files

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: default avatarGiel van Schijndel <me@mortis.eu>
Reported-at: http://www.viva64.com/en/b/0299/


Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81a07128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment