Displaying 3 results from an estimated 3 matches for "cda1b5d".
Did you mean:
c1f1b5d
2015 Oct 09
1
[PATCH] inspect: Don't free uninitialized string.
...point libguestfs segfaulted.
It seems as if 'major' is not used here, so don't try to free it.
This fixes commit 32d19e3289bc259901f77398703f16cf6eabd510.
---
src/inspect-fs-unix.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
index cda1b5d..3d19276 100644
--- a/src/inspect-fs-unix.c
+++ b/src/inspect-fs-unix.c
@@ -232,7 +232,6 @@ parse_os_release (guestfs_h *g, struct inspect_fs *fs, const char *filename)
char buf[value_len + 1];
snprintf (buf, sizeof buf, "%*s", (int) value_len, value);
major_ver...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...taller_iso (guestfs_h *g, struct inspect_fs *fs,
- const char *device)
+ const char *device)
{
CLEANUP_FREE_ISOINFO struct guestfs_isoinfo *isoinfo = NULL;
const struct osinfo *osinfo;
diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
index a371f4d..cda1b5d 100644
--- a/src/inspect-fs-unix.c
+++ b/src/inspect-fs-unix.c
@@ -458,7 +458,7 @@ parse_suse_release (guestfs_h *g, struct inspect_fs *fs, const char *filename)
r = 0;
-out:
+ out:
return r;
}
@@ -532,7 +532,7 @@ guestfs_int_check_linux_root (guestfs_h *g, struct inspect_fs *fs)...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67