Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bsauce/kernel-exploit-factory
/ readMsg
Function
readMsg
CVE-2022-0995/exploit.c:118–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
}
117
118
int readMsg(int msqid, void *msgp, size_t msgsz, long msgtyp)
119
{
120
return msgrcv(msqid, msgp, msgsz - sizeof(long), msgtyp, 0);
121
}
122
123
int writeMsg(int msqid, void *msgp, size_t msgsz, long msgtyp)
124
{
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected