diff for duplicates of <50B38339.40105@gmail.com> diff --git a/a/1.txt b/N1/1.txt index a29b04d..30d8d7d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -28,13 +28,13 @@ On 11/22/2012 08:23 AM, Tommi Rantala wrote: > We get -ENOMEM: > > $ strace -e sendto ./demo -> sendto(3, NULL, 1, 0, {sa_family¯_INET, sin_port=htons(11111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ENOMEM (Cannot allocate memory) +> sendto(3, NULL, 1, 0, {sa_family=AF_INET, sin_port=htons(11111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ENOMEM (Cannot allocate memory) > > Propagate the error code from sctp_user_addto_chunk(), so that we will > tell user space what actually went wrong: > > $ strace -e sendto ./demo -> sendto(3, NULL, 1, 0, {sa_family¯_INET, sin_port=htons(11111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EFAULT (Bad address) +> sendto(3, NULL, 1, 0, {sa_family=AF_INET, sin_port=htons(11111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EFAULT (Bad address) > > Noticed while running Trinity (the syscall fuzzer). > diff --git a/a/content_digest b/N1/content_digest index 38d7ee7..e65f1f0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01353590596-12216-1-git-send-email-tt.rantala@gmail.com\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" "Subject\0Re: [PATCH] sctp: fix -ENOMEM result with invalid user space pointer in sendto() syscall\0" - "Date\0Mon, 26 Nov 2012 14:56:57 +0000\0" + "Date\0Mon, 26 Nov 2012 09:56:57 -0500\0" "To\0Tommi Rantala <tt.rantala@gmail.com>\0" "Cc\0linux-sctp@vger.kernel.org" netdev@vger.kernel.org @@ -41,13 +41,13 @@ "> We get -ENOMEM:\n" ">\n" "> $ strace -e sendto ./demo\n" - "> sendto(3, NULL, 1, 0, {sa_family\302\257_INET, sin_port=htons(11111), sin_addr=inet_addr(\"127.0.0.1\")}, 16) = -1 ENOMEM (Cannot allocate memory)\n" + "> sendto(3, NULL, 1, 0, {sa_family=AF_INET, sin_port=htons(11111), sin_addr=inet_addr(\"127.0.0.1\")}, 16) = -1 ENOMEM (Cannot allocate memory)\n" ">\n" "> Propagate the error code from sctp_user_addto_chunk(), so that we will\n" "> tell user space what actually went wrong:\n" ">\n" "> $ strace -e sendto ./demo\n" - "> sendto(3, NULL, 1, 0, {sa_family\302\257_INET, sin_port=htons(11111), sin_addr=inet_addr(\"127.0.0.1\")}, 16) = -1 EFAULT (Bad address)\n" + "> sendto(3, NULL, 1, 0, {sa_family=AF_INET, sin_port=htons(11111), sin_addr=inet_addr(\"127.0.0.1\")}, 16) = -1 EFAULT (Bad address)\n" ">\n" "> Noticed while running Trinity (the syscall fuzzer).\n" ">\n" @@ -128,4 +128,4 @@ ">\n" > -aa18ce62cdc861f46651a147a0e6a53321fe646f33643d7b2c9d0353c310ab8f +175ec0b9fb897b32dd1ab8a72957deaaa49ddde3fc259d0958238d24fc0beb17
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.