Bug#977494: less: integer overflow on the number in the command buffer

2021-12-31 Thread Vincent Lefevre
Control: forwarded -1 https://github.com/gwsw/less/issues/239 On 2021-12-31 23:47:31 +0100, Vincent Lefevre wrote: > I'm going to report a bug upstream. Now done. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work:

Bug#977494: less: integer overflow on the number in the command buffer

2021-12-31 Thread Vincent Lefevre
Control: found -1 590-1 On 2020-12-15 18:48:10 +0100, Vincent Lefevre wrote: > The code that parses the number in the command buffer does not check > integer overflow. This is still the case. > I'm attaching a patch, which saturates the value to INT_MAX, since > there are conversions to int in

Bug#977494: less: integer overflow on the number in the command buffer

2020-12-15 Thread Vincent Lefevre
Package: less Version: 551-2 Severity: normal Tags: patch upstream The code that parses the number in the command buffer does not check integer overflow. I'm attaching a patch, which saturates the value to INT_MAX, since there are conversions to int in some parts of the code. -- System