linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] e2fsprogs: Fix various cases of undefined behavior
@ 2012-12-13 22:04 Sami Liedes
  0 siblings, 0 replies; only message in thread
From: Sami Liedes @ 2012-12-13 22:04 UTC (permalink / raw)
  To: linux-ext4

This set of patches fixes a number of issues causing undefined
behavior.  These were caught by running the test suite after
compiling e2fsprogs with the Clang compiler and -fsanitize=undefined.

Sami Liedes (8):
  lib/blkid/list.h: Fix undefined behavior in list_entry() macro
  lib/ext2fs/rbtree.h: Fix container_of() undefined behavior
  e2fsck/pass1.c: Fix undefined behavior in check_blocks()
  lib/ext2fs/block.c: Fix undefined behavior in block_iterate_tind()
  e2fsck/revoke.c: Fix undefined behavior in hash()
  lib/ext2fs/kernel-list.h: Fix undefined behavior in list_entry()
    macro
  lib/ext2fs/qcow2.h: Fix #defined 1<<63 values to be unsigned.
  e2fsck/jfs_user.h: Fix b_data alignment in struct buffer_head

 e2fsck/jfs_user.h        |    2 +-
 e2fsck/pass1.c           |    2 +-
 e2fsck/revoke.c          |    2 +-
 lib/blkid/list.h         |    5 +++--
 lib/ext2fs/block.c       |    2 +-
 lib/ext2fs/kernel-list.h |    6 ++++--
 lib/ext2fs/qcow2.h       |    4 ++--
 lib/ext2fs/rbtree.h      |    2 ++
 misc/e2image.c           |    2 +-
 9 files changed, 16 insertions(+), 11 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-13 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 22:04 [PATCH 0/8] e2fsprogs: Fix various cases of undefined behavior Sami Liedes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).