Re: [PATCH 1/2] ax25: integer overflows in ax25_setsockopt()
From: Alan Cox <hidden>
Date: 2011-11-23 14:37:58
Also in:
linux-hams, lkml
From: Alan Cox <hidden>
Date: 2011-11-23 14:37:58
Also in:
linux-hams, lkml
On Wed, 23 Nov 2011 09:04:11 -0500 Xi Wang [off-list ref] wrote:
All these magic numbers come from net/ax25/sysctl_net_ax25.c, where min/max values of each field are set for sysctl. Is it okay to use them?
The sysctl range is the 'standard' range, but it's always historically been possible to override them in apps for special cases. I'm wary of changing that because people do insane things like AX.25 bounced off the moon where you need very long timeouts. Alan