Re: [PATCH 01/13] btrfs-progs: btrfs-image.c: Added NULL pointer check.

2013-01-23 Thread Gene Czarcinski
On 01/21/2013 10:56 AM, David Sterba wrote: On Sun, Jan 20, 2013 at 04:04:06PM -0500, Gene Czarcinski wrote: >From: Nageswara R Sastry > >Check for the return value of 'open_ctree()' before dereferencing it. > >--- a/btrfs-image.c >+++ b/btrfs-image.c >@@ -491,6 +491,7 @@ static int create_metad

Re: [PATCH 01/13] btrfs-progs: btrfs-image.c: Added NULL pointer check.

2013-01-23 Thread David Sterba
On Tue, Jan 22, 2013 at 12:34:01PM -0500, Gene Czarcinski wrote: > I missed this better fix because I only started looking for outstanding > patches starting in June/July 2012. No problem, there are multuple patches for some longstanging bugs, or several versions of patch series. This is something

Re: [PATCH 01/13] btrfs-progs: btrfs-image.c: Added NULL pointer check.

2013-01-22 Thread Gene Czarcinski
On 01/21/2013 10:56 AM, David Sterba wrote: On Sun, Jan 20, 2013 at 04:04:06PM -0500, Gene Czarcinski wrote: From: Nageswara R Sastry Check for the return value of 'open_ctree()' before dereferencing it. --- a/btrfs-image.c +++ b/btrfs-image.c @@ -491,6 +491,7 @@ static int create_metadump(co

Re: [PATCH 01/13] btrfs-progs: btrfs-image.c: Added NULL pointer check.

2013-01-21 Thread David Sterba
On Sun, Jan 20, 2013 at 04:04:06PM -0500, Gene Czarcinski wrote: > From: Nageswara R Sastry > > Check for the return value of 'open_ctree()' before dereferencing it. > > --- a/btrfs-image.c > +++ b/btrfs-image.c > @@ -491,6 +491,7 @@ static int create_metadump(const char *input, FILE *out, > in

[PATCH 01/13] btrfs-progs: btrfs-image.c: Added NULL pointer check.

2013-01-20 Thread Gene Czarcinski
From: Nageswara R Sastry Check for the return value of 'open_ctree()' before dereferencing it. Signed-off-by: Nageswara R Sastry Signed-off-by: Gene Czarcinski --- btrfs-image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-image.c b/btrfs-image.c index f2bbcc8..2a33a55 100644 ---