[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKdjhyD8Nn+h77xGRcaHvDNA+Xw_UBzr7TBAoSs-=geUs+f0eQ@mail.gmail.com>
Date: Thu, 13 Jul 2023 15:22:42 +0800
From: linke li <lilinke99@...il.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: Linke Li <lilinke99@...mail.com>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, Jan Kara <jack@...e.cz>
Subject: Re: [PATCH] isofs: fix undefined behavior in iso_date()
Thanks for your reply.
> This certainly fixes the problem, but wouldn't it be easier to get the
> compiler to do the work for us?
I don't know which solution is better, but it does avoid this problem.
Like
tz = (int)(signed char)p[6];
Powered by blists - more mailing lists