| To: | linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing |
| From: | Olaf Hering <olh@xxxxxxx> |
| Date: | Sat, 5 Jun 2004 23:14:09 +0200 |
| Cc: | Olaf Hering <olh@xxxxxxx> |
| In-reply-to: | <20040605204334.GA1134@suse.de> |
| References: | <20040605204334.GA1134@suse.de> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt und vi sind doch schneller als Notes |
On Sat, Jun 05, Olaf Hering wrote: > > packet_recvmsg() gets the flags from the compat_sys_socketcall(), but it > does not check for the active MSG_CMSG_COMPAT bit. As a result, it > returns -EINVAL and makes the user rather unhappy possible related bugs are in: ipx_sendmsg pfkey_recvmsg x25_sendmsg ax25_sendmsg irda_sendmsg irda_sendmsg_dgram irda_sendmsg_ultra rose_sendmsg atalk_sendmsg dn_recvmsg dn_sendmsg econet_sendmsg wanpipe_sendmsg nr_sendmsg -- USB is for mice, FireWire is for men! sUse lINUX ag, nÃRNBERG |
| Previous by Date: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, Andreas Schwab |
| Previous by Thread: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Next by Thread: | [PATCH 12/17 linux-2.6.7-rc2] prism54: Add likely/unlikely (resend again), Margit Schubert-While |
| Indexes: | [Date] [Thread] [Top] [All Lists] |