]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/msg.h
ipc, msg: fix message length check for negative values
[mirror_ubuntu-artful-kernel.git] / include / linux / msg.h
index 391af8d11cceea2f306f460ec137d75f0ea236c9..e21f9d44307f0004baf0146b4d02a20de6a96466 100644 (file)
@@ -6,9 +6,9 @@
 
 /* one msg_msg structure for each message */
 struct msg_msg {
-       struct list_head m_list; 
-       long  m_type;          
-       int m_ts;           /* message text size */
+       struct list_head m_list;
+       long m_type;
+       size_t m_ts;            /* message text size */
        struct msg_msgseg* next;
        void *security;
        /* the actual message follows immediately */