linux-user: don't crash with null name
commita516e72d60803cac3b81b3330db55983b080d8da
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 30 Jan 2009 19:48:07 +0000 (30 19:48 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 30 Jan 2009 19:48:07 +0000 (30 19:48 +0000)
tree96e532b3f7e04a2c4143f61baf9beff52a8f2154
parent8f7aeaf6b38fc0d4c8c3eb9292ae250579437724
linux-user: don't crash with null name

From Thayne Harbaugh.

path() may be called with null string, don't bother trying to
remap in that case.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6480 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/path.c