Ensure '.' is used to separate octets. If another character is seen
reject the string outright and return 0.0.0.0.
Signed-off-by: Chris Packham
---
Changes in v2:
- new
END
lib/net_utils.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/net_utils.c b/lib/net_utils.c
index 8f81e7801
Dear Chris Packham,
In message <20170104003626.4211-2-judge.pack...@gmail.com> you wrote:
> Ensure '.' is used to separate octets. If another character is seen
> reject the string outright and return 0.0.0.0.
What is this good for?
The old code was forgiving and would accept 192,168,1,2 as well.
On Wed, Jan 4, 2017 at 11:09 PM, Wolfgang Denk wrote:
> Dear Chris Packham,
>
> In message <20170104003626.4211-2-judge.pack...@gmail.com> you wrote:
>> Ensure '.' is used to separate octets. If another character is seen
>> reject the string outright and return 0.0.0.0.
>
> What is this good for?
Dear Chris,
In message
you wrote:
>
> > The old code was forgiving and would accept 192,168,1,2 as well.
>
> Technically you can't enter that. The env_flags.c code prevents that
> from being added to environment variables that have been tagged as ip
> addresses. These patches are pushing the lo
On Mon, Jan 9, 2017 at 7:45 AM, Wolfgang Denk wrote:
> Dear Chris,
>
> In message
> you
> wrote:
>>
>> > The old code was forgiving and would accept 192,168,1,2 as well.
>>
>> Technically you can't enter that. The env_flags.c code prevents that
>> from being added to environment variables that
5 matches
Mail list logo