[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
telnet: Handle integer overflow gracefully.
From: |
Collin Funk |
Subject: |
telnet: Handle integer overflow gracefully. |
Date: |
Fri, 23 Aug 2024 22:56:30 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
I've pushed the attached patch removing an integer overflow from telnet.
The overflow occurs went sending 'send dont <value>' but the value
exceeds INT_MAX.
Also, I'm adding inttypes and xstrtoimax from Gnulib. Perhaps it is too
much personal opinion but I find error checking strtol and friends
annoying. I'd prefer using xstrtoimax, since it deals with all the
conditions and platform discrepancies. But feel free to change to a
standard function if you'd like.
Collin
0001-telnet-Handle-integer-overflow-gracefully.patch
Description: Text Data
- telnet: Handle integer overflow gracefully.,
Collin Funk <=
- Re: telnet: Handle integer overflow gracefully., Erik Auerswald, 2024/08/25
- Re: telnet: Handle integer overflow gracefully., Simon Josefsson, 2024/08/25
- Re: telnet: Handle integer overflow gracefully., Collin Funk, 2024/08/25
- Re: telnet: Handle integer overflow gracefully., Erik Auerswald, 2024/08/26
- Re: telnet: Handle integer overflow gracefully., Collin Funk, 2024/08/27
- Re: telnet: Handle integer overflow gracefully., Erik Auerswald, 2024/08/31
Re: telnet: Handle integer overflow gracefully., Erik Auerswald, 2024/08/26