[xfs-masters] fs/xfs/xfs_mount.c:1483: warning: array subscript is above array bounds
Geert Uytterhoeven
geert at linux-m68k.org
Tue May 5 03:05:05 CDT 2009
http://kisskb.ellerman.id.au/kisskb/buildresult/407608/:
fs/xfs/xfs_mount.c:1483: warning: array subscript is above array bounds
xfs_mod_sb(xfs_trans_t *tp, __int64_t fields)
{
xfs_sb_field_t f;
...
first = xfs_sb_info[f].offset;
...
}
xfs_sb_field_t is an enum with 47 values.
xfs_sb_info[] has at least 47 entries.
Is this a bogus warning?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the xfs-masters
mailing list