Re: [linux-sunxi] [PATCH 1/3] sunxi-tools: script_extractor: bug fixes

2015-12-15 Thread Siarhei Siamashka
Hello Justin, On Wed, 2 Dec 2015 01:45:30 +0200 Justin Swartz wrote: > Script size argument detection: argc should be greater than one, > rather than not equal to zero. > > Output loop termination: the index variable should be compared against > the value of

[linux-sunxi] [PATCH 1/3] sunxi-tools: script_extractor: bug fixes

2015-12-01 Thread Justin Swartz
Script size argument detection: argc should be greater than one, rather than not equal to zero. Output loop termination: the index variable should be compared against the value of the size variable, as opposed to the default SCRIPT_SIZE definition. munmap: the mapping returned by mmap, addr,