MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / get_msg

Function get_msg

CVE-2022-25636/exploit/exploit.c:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86ssize_t get_msg(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) {
87 ssize_t ret;
88 ret = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg);
89 if (ret < 0)
90 perror("msgrcv");
91 return ret;
92}
93
94void send_msg(int msqid, void *msgp, size_t msgsz, int msgflg) {
95 if (msgsnd(msqid, msgp, msgsz, msgflg) == -1)

Callers 4

delete_128Function · 0.70
check_heap_leakFunction · 0.70
delete_192Function · 0.70
free_netdeviceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected