Messages in this thread | | | Date | Tue, 21 May 2019 18:03:11 +0300 | From | Dan Carpenter <> | Subject | Re: [PATCH] orangefs: remove redundant assignment to variable buffer_index |
| |
On Thu, May 16, 2019 at 12:06:31PM -0400, Mike Marshall wrote: > Hi Colin... > > Thanks for the patch. Before I initialized buffer_index, Dan Williams sent > in a warning that a particular error path could try to use ibuffer_index > uninitialized. I could induce the problem he described with one > of the xfstests resulting in a crashed kernel. I will try to refactor > the code to fix the problem some other way than initializing > buffer_index in the declaration. >
The only explanation I can think of is that you guys are discussing different code. :P
regards, dan carpenter
| |