v10networkscom / saltychat-fivem

FiveM implementation of Salty Chat (TeamSpeak 3 based Voice Plugin)
https://gaming.v10networks.com
GNU General Public License v3.0
70 stars 64 forks source link

Memory leak on the EndCall export server #67

Closed Bqdzy closed 3 years ago

Bqdzy commented 3 years ago

Hello, I realized that by calling an unknown phone number or a phone number of an offline player, it called the Endcall server export. Does this create a memory leak, potentially a null pointer?

BlackFlash5 commented 3 years ago

There is no check on the EndCall server export if the server IDs exists, so you will get a NullReferenceException if one of the IDs is invalid.