google-breakpad: Null-terminate path returned by readlink().

Fix the MinidumpWriterTest.DeletedBinary unittest that was failing on some
machines because the path returned for "/proc/self/exe" was not being
null-terminated.  In particular, the test would fail if the garbage after
the path happened to contain a '/' character.

BUG=chromium-os:22852
TEST=Ran unittests.

Change-Id: I278375e651dbac220020ebcb6321d970e0a7951e
Reviewed-on: https://gerrit.chromium.org/gerrit/11727
Reviewed-by: Michael Krebs <mkrebs@chromium.org>
Tested-by: Michael Krebs <mkrebs@chromium.org>
2 files changed