xfs
[Top] [All Lists]

Re: [PATCH 2/9 V2] xfsdump: Fix overflow of "question" string in Media_p

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH 2/9 V2] xfsdump: Fix overflow of "question" string in Media_prompt_erase()
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 13 Nov 2014 09:38:13 -0800
Cc: Eric Sandeen <sandeen@xxxxxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5463AF7A.8040006@xxxxxxxxxxx>
References: <1415818638-32700-1-git-send-email-sandeen@xxxxxxxxxx> <1415818638-32700-3-git-send-email-sandeen@xxxxxxxxxx> <5463AF7A.8040006@xxxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
> +     asprintf( &question, 
> +              "overwrite data on media in drive %u?\n",
>                (unsigned int)drivep->d_index );

Where is the error handling?

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