don't crash on null strings in printf
authorRich Felker <dalias@aerifal.cx>
Thu, 29 Sep 2011 02:07:58 +0000 (22:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 29 Sep 2011 02:07:58 +0000 (22:07 -0400)
commit5f814682b48c59f07568d349f979eed4cf306703
tree3e57d7d65a8329d87ea41232f8689b5fd64efd7b
parentde543b05c87d79a9313991810e9ee8ecdaad8f19
don't crash on null strings in printf

passing null pointer for %s is UB but lots of broken programs do it anyway
src/stdio/vfprintf.c