Re: [bug fix] Fix the size calculation for shmem TOC

2021-01-14 Thread Fujii Masao
On 2021/01/14 18:15, Fujii Masao wrote: On 2021/01/14 17:47, tsunakawa.ta...@fujitsu.com wrote: Hello, The attached patch fixes a trivial mistake in the calculation of shmem TOC.  The original code allocates unduly large memory because it adds the result of add_size() to its left argume

Re: [bug fix] Fix the size calculation for shmem TOC

2021-01-14 Thread Fujii Masao
On 2021/01/14 17:47, tsunakawa.ta...@fujitsu.com wrote: Hello, The attached patch fixes a trivial mistake in the calculation of shmem TOC. The original code allocates unduly large memory because it adds the result of add_size() to its left argument. Thanks for the report and patch! The p

[bug fix] Fix the size calculation for shmem TOC

2021-01-14 Thread tsunakawa.ta...@fujitsu.com
Hello, The attached patch fixes a trivial mistake in the calculation of shmem TOC. The original code allocates unduly large memory because it adds the result of add_size() to its left argument. Regards Takayuki Tsunakawa 0001-Fix-size-calculation-for-shmem-TOC.patch Description: 0001-Fix-