Recent changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 38dad62d5154ffaad445bd0231b271b9a46a5190:

  Add rw_sequencer option (2010-07-20 14:46:00 -0600)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Jens Axboe (2):
      Fix bad deref of memory in parser
      Fix leak when finding aliases in the log rbtree

 log.c   |    1 +
 parse.c |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

---

Diff of recent changes:

diff --git a/log.c b/log.c
index 5fc8f64..80d3742 100644
--- a/log.c
+++ b/log.c
@@ -231,6 +231,7 @@ restart:
 			assert(ipo->len == __ipo->len);
 			td->io_hist_len--;
 			rb_erase(parent, &td->io_hist_tree);
+			free(__ipo);
 			goto restart;
 		}
 	}
diff --git a/parse.c b/parse.c
index d806161..db2f5a4 100644
--- a/parse.c
+++ b/parse.c
@@ -169,6 +169,9 @@ static unsigned long long get_mult_bytes(const char *str, int len, void *data)
 {
 	const char *p;
 
+	if (len < 2)
+		return __get_mult_bytes(str, data);
+
 	/*
 	 * if the last char is 'b' or 'B', the user likely used
 	 * "1gb" instead of just "1g". If the second to last is also
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux