netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: penguin-kernel@i-love.sakura.ne.jp
Cc: netdev@vger.kernel.org,
	syzbot+0049bebbf3042dbd2e8f@syzkaller.appspotmail.com,
	syzbot+915c9f99f3dbc4bd6cd1@syzkaller.appspotmail.com
Subject: Re: [PATCH] net: socket: Always initialize family field at move_addr_to_kernel().
Date: Wed, 03 Apr 2019 21:49:26 -0700 (PDT)	[thread overview]
Message-ID: <20190403.214926.2003732231073495468.davem@davemloft.net> (raw)
In-Reply-To: <b4083428-53b2-0f71-585f-d648b8fd1331@i-love.sakura.ne.jp>

From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Date: Wed, 3 Apr 2019 06:07:40 +0900

> On 2019/04/03 5:23, David Miller wrote:
>> Please fix RDS and other protocols to examine the length properly
>> instead.
> 
> Do you prefer adding branches only for allow reading the family of socket address?

If the length is zero, there is no point in reading the family.

  reply	other threads:[~2019-04-04  4:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 14:19 [PATCH] net: socket: Always initialize family field at move_addr_to_kernel() Tetsuo Handa
2019-04-02 20:23 ` David Miller
2019-04-02 21:07   ` Tetsuo Handa
2019-04-04  4:49     ` David Miller [this message]
2019-04-11 11:31       ` Tetsuo Handa
2019-04-11 16:45         ` Casey Schaufler
2019-04-11 22:33         ` Paul Moore
2019-04-12  0:24           ` Tetsuo Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190403.214926.2003732231073495468.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    --cc=syzbot+0049bebbf3042dbd2e8f@syzkaller.appspotmail.com \
    --cc=syzbot+915c9f99f3dbc4bd6cd1@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).