All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>,
	Neil Horman <nhorman@tuxdriver.com>,
	"David S. Miller" <davem@davemloft.net>,
	linux-sctp@vger.kernel.org, netdev <netdev@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	syzkaller <syzkaller@googlegroups.com>,
	Kostya Serebryany <kcc@google.com>,
	Alexander Potapenko <glider@google.com>,
	Sasha Levin <sasha.levin@oracle.com>,
	Eric Dumazet <edumazet@google.com>
Subject: Re: net/sctp: sctp_datamsg memory leak
Date: Fri, 15 Jan 2016 19:07:33 +0000	[thread overview]
Message-ID: <20160115190733.GI6074@mrl.redhat.com> (raw)
In-Reply-To: <CACT4Y+abxekf8Cezxa+OdNsDDzLd_tVQVqWnxn2V5PyKGJv88Q@mail.gmail.com>

On Fri, Jan 15, 2016 at 07:55:56PM +0100, Dmitry Vyukov wrote:
> On Fri, Jan 8, 2016 at 4:25 PM, Marcelo Ricardo Leitner
> <marcelo.leitner@gmail.com> wrote:
...
> >>  \xe9\x32\
> >>  xde\x36",
> >> 251);
> >
> > Please clarify this line. It doesn't compile as-is and the len doesn't
> > match the data itself.
> 
> I am not sure why there a ! at the end of the line, it wasn't present
> in my original program.
> Here is a source that compiles for me with -Wall:
> https://gist.githubusercontent.com/dvyukov/662ee19898ed25f7db31/raw/3a6cbfa462f8eba67fda90f16198c62159b6b42f/gistfile1.txt
> 

Got it, thanks


WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>,
	Neil Horman <nhorman@tuxdriver.com>,
	"David S. Miller" <davem@davemloft.net>,
	linux-sctp@vger.kernel.org, netdev <netdev@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	syzkaller <syzkaller@googlegroups.com>,
	Kostya Serebryany <kcc@google.com>,
	Alexander Potapenko <glider@google.com>,
	Sasha Levin <sasha.levin@oracle.com>,
	Eric Dumazet <edumazet@google.com>
Subject: Re: net/sctp: sctp_datamsg memory leak
Date: Fri, 15 Jan 2016 17:07:33 -0200	[thread overview]
Message-ID: <20160115190733.GI6074@mrl.redhat.com> (raw)
In-Reply-To: <CACT4Y+abxekf8Cezxa+OdNsDDzLd_tVQVqWnxn2V5PyKGJv88Q@mail.gmail.com>

On Fri, Jan 15, 2016 at 07:55:56PM +0100, Dmitry Vyukov wrote:
> On Fri, Jan 8, 2016 at 4:25 PM, Marcelo Ricardo Leitner
> <marcelo.leitner@gmail.com> wrote:
...
> >>  \xe9\x32\
> >>  xde\x36",
> >> 251);
> >
> > Please clarify this line. It doesn't compile as-is and the len doesn't
> > match the data itself.
> 
> I am not sure why there a ! at the end of the line, it wasn't present
> in my original program.
> Here is a source that compiles for me with -Wall:
> https://gist.githubusercontent.com/dvyukov/662ee19898ed25f7db31/raw/3a6cbfa462f8eba67fda90f16198c62159b6b42f/gistfile1.txt
> 

Got it, thanks

  reply	other threads:[~2016-01-15 19:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 21:24 net/sctp: sctp_datamsg memory leak Dmitry Vyukov
2015-12-30 21:24 ` Dmitry Vyukov
2015-12-30 21:24 ` Dmitry Vyukov
2016-01-08 15:25 ` Marcelo Ricardo Leitner
2016-01-08 15:25   ` Marcelo Ricardo Leitner
2016-01-08 15:25   ` Marcelo Ricardo Leitner
2016-01-15 18:47   ` Marcelo Ricardo Leitner
2016-01-15 18:47     ` Marcelo Ricardo Leitner
2016-01-15 18:47     ` Marcelo Ricardo Leitner
2016-01-15 18:55   ` Dmitry Vyukov
2016-01-15 18:55     ` Dmitry Vyukov
2016-01-15 18:55     ` Dmitry Vyukov
2016-01-15 19:07     ` Marcelo Ricardo Leitner [this message]
2016-01-15 19:07       ` Marcelo Ricardo Leitner

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=20160115190733.GI6074@mrl.redhat.com \
    --to=marcelo.leitner@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dvyukov@google.com \
    --cc=edumazet@google.com \
    --cc=glider@google.com \
    --cc=kcc@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sctp@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@tuxdriver.com \
    --cc=sasha.levin@oracle.com \
    --cc=syzkaller@googlegroups.com \
    --cc=vyasevich@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.