Re: [PATCH] grub-file: fix segmentation fault

2016-04-08 Thread Andrei Borzenkov
08.04.2016 09:43, Michael Chang пишет: > In grub_file_open the file handle returned by file filters has no file->name > set which leads to segmentation fault later referenced by grub_elf_file. We > move the file->name value assignment after file filters to make sure it will > be > set and returned

Re: [PATCH] http: fix superfluous null line in range request header

2016-04-08 Thread Andrei Borzenkov
06.04.2016 13:19, Michael Chang пишет: > At least the apache sever is very unhappy with that extra null line and will > take more than ten seconds in responding to each range request, which slows > down a lot the entire http file transfer process or even time out. Applied. Thanks! > --- > grub-c

Re: [PATCH] verify: search keyid in hashed signature subpackets

2016-04-08 Thread Andrei Borzenkov
30.03.2016 17:09, Ignat Korchagin пишет: > Implemented as a separate function which should process arbitrary length data. TBH I still think that simply setting READBUF_SIZE to 64K is the simplest solution. > As for tests, it seems that the easiest way is to add this signature to tests/file_filter