Re: [PATCH] drivers: net: phy: in112525: fix out of bounds write

2021-09-05 Thread Ramon Fried
On Thu, Sep 2, 2021 at 2:44 PM Cosmin-Florin Aluchenesei wrote: > > Changed declarations of line_temp, reg_addr and reg_data arrays in order to > avoid out-of-bounds write which may be caused by the following writing: > line_temp[column_cnt] = '\0'; (Increased size from 80 to 81). > > Signed-off-b

[PATCH] drivers: net: phy: in112525: fix out of bounds write

2021-09-02 Thread Cosmin-Florin Aluchenesei
Changed declarations of line_temp, reg_addr and reg_data arrays in order to avoid out-of-bounds write which may be caused by the following writing: line_temp[column_cnt] = '\0'; (Increased size from 80 to 81). Signed-off-by: Cosmin-Florin Aluchenesei --- drivers/net/phy/in112525.c | 6 +++--- 1