xfs
[Top] [All Lists]

[PATCH 0/2] xfsdump: fix problems in cb_add_inogrp

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/2] xfsdump: fix problems in cb_add_inogrp
From: rjohnston@xxxxxxx
Date: Fri, 21 Aug 2015 09:01:04 -0500 (CDT)
Delivered-to: xfs@xxxxxxxxxxx
User-agent: quilt/0.47-15.17.1
The memset in cb_add_inogrp will segfault when the index oldsize
overflows. In cb_add_inogrp(), the temp variables used in
calculating the new i2gmap segment offset should be int64 instead
of intgen_t (int32).

A second bug also occurs because we already compensate for the
length of each item in oldsize so are 32bit wrap becomes a 40bit
wrap.

<Prev in Thread] Current Thread [Next in Thread>