Re: [PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly

2022-08-09 Thread AKASHI Takahiro
On Tue, Aug 09, 2022 at 04:11:40PM +0200, Michal Simek wrote: > Hi Masami, > > po 31. 1. 2022 v 3:53 odesílatel Masami Hiramatsu > napsal: > > > > When parsing the dfu_alt_info, check the number of arguments > > and argument string strictly. If there is any garbage data > > (which is not able to

Re: [PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly

2022-08-09 Thread Michal Simek
Hi Masami, po 31. 1. 2022 v 3:53 odesílatel Masami Hiramatsu napsal: > > When parsing the dfu_alt_info, check the number of arguments > and argument string strictly. If there is any garbage data > (which is not able to be parsed correctly) in dfu_alt_info, > that means something wrong and user ma

Re: [PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly

2022-02-11 Thread Tom Rini
On Mon, Jan 31, 2022 at 11:52:37AM +0900, Masami Hiramatsu wrote: > When parsing the dfu_alt_info, check the number of arguments > and argument string strictly. If there is any garbage data > (which is not able to be parsed correctly) in dfu_alt_info, > that means something wrong and user may make

[PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly

2022-01-30 Thread Masami Hiramatsu
When parsing the dfu_alt_info, check the number of arguments and argument string strictly. If there is any garbage data (which is not able to be parsed correctly) in dfu_alt_info, that means something wrong and user may make a typo or mis- understanding about the syntax. Since the dfu_alt_info is u