[dm-devel] [PATCH v2] hex2bin: fix access beyond string end

Mikulas Patocka mpatocka at redhat.com
Tue Apr 26 15:29:11 UTC 2022



On Tue, 26 Apr 2022, Andy Shevchenko wrote:

> On Tue, Apr 26, 2022 at 08:07:44AM -0400, Mikulas Patocka wrote:
> > On Tue, 26 Apr 2022, Andy Shevchenko wrote:
> > > On Sun, Apr 24, 2022 at 10:48 PM Mikulas Patocka <mpatocka at redhat.com> wrote:
> 
> ...
> 
> > > You need to provide a Fixes tag.
> > 
> > OK. Here I resend it with the "Fixes" tag.
> 
> Still shadows error codes.
> 
> > +			return -EINVAL;
> 
> >  			return -EINVAL;

What do you mean? What's wrong with "return -EINVAL"?

Mikulas


More information about the dm-devel mailing list