diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-04 09:39:25 +0100 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-04 09:41:26 +0100 |
| commit | 1030e8aba0993b48cc36c4aa78cd6665914ed99c (patch) | |
| tree | be425599353c0620cef1db40df2a8452f358b043 /java/examples | |
| parent | 26732678c6f23730f28a37694be932c96e3c4e50 (diff) | |
| download | libguestfs-1030e8aba0993b48cc36c4aa78cd6665914ed99c.tar.gz libguestfs-1030e8aba0993b48cc36c4aa78cd6665914ed99c.tar.xz libguestfs-1030e8aba0993b48cc36c4aa78cd6665914ed99c.zip | |
Fix guestfs_disk_image API to work with relative paths.
guestfs_disk_image makes a symbolic link to the real filename in order
to sanitize the filename. However this fails if the filename is a
relative path. Call realpath(3) to make the filename canonical.
This fixes commit 20902e7ce02fa375d5d336e6b984f615472ad1b1.
Diffstat (limited to 'java/examples')
0 files changed, 0 insertions, 0 deletions
