]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't use PTY name as format string, even though it isn't insecure here.
authorEd Schouten <ed@FreeBSD.org>
Thu, 26 Feb 2009 10:14:10 +0000 (10:14 +0000)
committerEd Schouten <ed@FreeBSD.org>
Thu, 26 Feb 2009 10:14:10 +0000 (10:14 +0000)
commit1e737f33a018feb91f471d8d617ffae2aba26a37
tree75ffc3502b967f0a14e0dd372d2548d94fc7fecd
parent98621d508cb85b75820aa99188a85345f8d68a8a
Don't use PTY name as format string, even though it isn't insecure here.

It's guaranteed that the `name' variable always contains a string of the
form pty[l‐sL‐S][0‐9a‐v], but I'd rather keep the compiler happy (LLVM).
sys/kern/tty_pty.c