Re: [PATCH v2, variant B] tty: nozomi: avoid sprintf buffer overflow

2016-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 29, 2016 at 12:51:04PM +0100, Arnd Bergmann wrote: > Testing with a gcc-7 snapshot produced an internal compiler error > for this file: > > drivers/tty/nozomi.c: In function 'receive_flow_control': > drivers/tty/nozomi.c:919:12: internal compiler error: in >

Re: [PATCH v2, variant B] tty: nozomi: avoid sprintf buffer overflow

2016-11-29 Thread Greg Kroah-Hartman
On Tue, Nov 29, 2016 at 12:51:04PM +0100, Arnd Bergmann wrote: > Testing with a gcc-7 snapshot produced an internal compiler error > for this file: > > drivers/tty/nozomi.c: In function 'receive_flow_control': > drivers/tty/nozomi.c:919:12: internal compiler error: in >

[PATCH v2, variant B] tty: nozomi: avoid sprintf buffer overflow

2016-11-29 Thread Arnd Bergmann
Testing with a gcc-7 snapshot produced an internal compiler error for this file: drivers/tty/nozomi.c: In function 'receive_flow_control': drivers/tty/nozomi.c:919:12: internal compiler error: in get_substring_ranges_for_loc, at input.c:1388 static int receive_flow_control(struct nozomi *dc)

[PATCH v2, variant B] tty: nozomi: avoid sprintf buffer overflow

2016-11-29 Thread Arnd Bergmann
Testing with a gcc-7 snapshot produced an internal compiler error for this file: drivers/tty/nozomi.c: In function 'receive_flow_control': drivers/tty/nozomi.c:919:12: internal compiler error: in get_substring_ranges_for_loc, at input.c:1388 static int receive_flow_control(struct nozomi *dc)