Description of problem: I just tried to compile Fedora Core2 Test1 package e2fsprogs-1.35-4 The compiler said 1. mkjournal.c(241): warning #175: subscript out of range The source code is fs->super->s_jnl_blocks[16] = inode.i_size; but [root@localhost SPECS]# find ../BUILD/e2fsprogs-1.35/ -name \*.h -print | xargs grep s_jnl_blocks ../BUILD/e2fsprogs-1.35/lib/ext2fs/ext2_fs.h: __u32 s_jnl_blocks[16]; /* Backup of the journal inode */ [root@localhost SPECS]# Looks like broken code to me. 2. journal.c(242): warning #175: subscript out of range Source code is j_inode->i_ext2.i_size = sb->s_jnl_blocks[16]; Duplicate. 3. journal.c(865): warning #175: subscript out of range The source code is sb->s_jnl_blocks[16] = inode.i_size; Duplicate. 4. logdump.c(217): warning #175: subscript out of range The source code is journal_inode.i_size = es->s_jnl_blocks[16]; Duplicate. I'm surprised at so many duplicates. Someone working on serious low level code in the Linux system doesn't know basic facts about C. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed in rawhide in rpm e2fsprogs-1.35-7 or newer.