From: Krol, Willem van de <008054_AT_jfc.nl>
Date: Thu, 11 Jul 2013 21:36:01 +0200
Hello all,
If an empty path is specified with mkdir -p (for example, mkdir -p ""),
strchr will read beyond the path string. The pull request (attached) should fix
this.