[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 0813cb: tests/hd-geo-test: Don't pass NULL to
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 0813cb: tests/hd-geo-test: Don't pass NULL to unlink() |
Date: |
Thu, 08 Sep 2016 03:30:03 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 0813cbf913b04c856bffa87aa005423082325ac1
https://github.com/qemu/qemu/commit/0813cbf913b04c856bffa87aa005423082325ac1
Author: Peter Maydell <address@hidden>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M tests/hd-geo-test.c
Log Message:
-----------
tests/hd-geo-test: Don't pass NULL to unlink()
The unlink() function doesn't accept a NULL pointer, so
don't pass it one. Spotted by the clang sanitizer.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-id: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 0813cb: tests/hd-geo-test: Don't pass NULL to unlink(),
GitHub <=