printk: check for user pointers in format string parameters
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 2 May 2019 01:40:27 +0000 (21:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 2 May 2019 01:41:48 +0000 (21:41 -0400)
commitc0f0e9ec2e1808448183958ee1d0bd6894a76e07
treecf328c5013cc9234ed79525aa6b498999c219cf8
parentd576c9347e8ba4fb63c5970eec9138ed8632c7cd
printk: check for user pointers in format string parameters

These may be a potential source of vulernability.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/printfmt.c