Package: xfsprogs
Version: 2.6.28-1
Severity: important

line 813 of repair/sb.c needs a cast in order to prevent an overflow.

--- sb.c~       2005-07-26 17:21:33.000000000 -0400
+++ sb.c        2004-02-05 17:46:32.000000000 -0500
@@ -810,7 +810,7 @@

        if (current->index != sb_index)  {
                *sb_modified = 1;
-               off = current->index * current->geo.sb_agblocks
+               off = (xfs_off_t)current->index * current->geo.sb_agblocks
                        * current->geo.sb_blocksize;
                if (get_sb(sb, off, current->geo.sb_sectsize,
                                current->index) != XR_OK)

A bug was also filed with the xfs developers and should be fixed in cvs
promptly. This bug causes xfs_repair to fail on certain configurations.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30-k7-evms
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xfsprogs depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libreadline5                5.0-10       GNU readline and history libraries
ii  libuuid1                    1.38-1       universally unique id library

xfsprogs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to