MCPcopy 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
118int readMsg(int msqid, void *msgp, size_t msgsz, long msgtyp)
119{
120 return msgrcv(msqid, msgp, msgsz - sizeof(long), msgtyp, 0);
121}
122
123int writeMsg(int msqid, void *msgp, size_t msgsz, long msgtyp)
124{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected