Re: [PATCH] progress: Check for NULL filename

2015-08-18 Thread Andrei Borzenkov
14.08.2015 00:04, dann frazier пишет: On Thu, Aug 13, 2015 at 10:52:19AM +0300, Andrei Borzenkov wrote: On Wed, Aug 12, 2015 at 6:53 PM, dann frazier wrote: Avoid a NULL pointer dereference if the upper fs layer hasn't set the file->name field. Files opened through the grub_net_fs interface cu

Re: [PATCH] progress: Check for NULL filename

2015-08-13 Thread dann frazier
On Thu, Aug 13, 2015 at 10:52:19AM +0300, Andrei Borzenkov wrote: > On Wed, Aug 12, 2015 at 6:53 PM, dann frazier > wrote: > > Avoid a NULL pointer dereference if the upper fs layer hasn't set the > > file->name field. Files opened through the grub_net_fs interface currently > > do > > not have t

Re: [PATCH] progress: Check for NULL filename

2015-08-13 Thread Andrei Borzenkov
On Wed, Aug 12, 2015 at 6:53 PM, dann frazier wrote: > Avoid a NULL pointer dereference if the upper fs layer hasn't set the > file->name field. Files opened through the grub_net_fs interface currently do > not have this field set (though perhaps they should?). > file->name is set in grub_file_op

[PATCH] progress: Check for NULL filename

2015-08-12 Thread dann frazier
Avoid a NULL pointer dereference if the upper fs layer hasn't set the file->name field. Files opened through the grub_net_fs interface currently do not have this field set (though perhaps they should?). Signed-off-by: dann frazier --- grub-core/lib/progress.c | 3 +-- 1 file changed, 1 insertion