icy17
icy17
Hi! I want to detect if there is a check for NULL return value of a function.And I want to get the block which is controlled by `ret == NULL`...
Hi! I write a small C code, and I want to find if there is a dataflow from `malloc` to `free`.And `malloc` and` free` in different functions. But I got...
Hi, I learn how to write ql to do dataflow analyse, and then I want to detect memory leak like missing `free` after `malloc`. But I met a problem, I...
When I compile some projects, I use `configure` and `make `to create a database. But some code in `#if `or `#ifdef`. Maybe there are conditions that need to be met...
I just start learning Codeql, and I want to analyze Data flow and Control flow of a program. Now I learn **_getASuccessor_** and Global DataFlow analyze. And I have some...
### What is the issue? Potential memory leak in [daemon-posix.cc](https://github.com/transmission/transmission/blob/main/daemon/daemon-posix.cc#L73) line 73 Calling event_new() without calling event_free() to free the memory will cause a memory leak. [Doc](https://libevent.org/doc/event_8h.html#a1f326019b65d319b2221b7e57d56c273) says "Deallocate a...
### Description There are some potential null dereference bugs. In src/Mayaqua/Network.c: 5807 and 5671, calling SSL_set_ex_data without checking the parameter 1 might cause a null-dereference. In src/Mayaqua/Encrypt.c: 778, calling [BN_bn2bin](https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/Mayaqua/Encrypt.c#L778C2-L778C11)...
Changes proposed in this pull request: - Fix #1915 - Add 2 NULL pointer check before use them
**Describe the bug** In trunk/src/app/srs_app_rtc_dtls.cpp: 159, calling [SSL_CTX_set_cipher_list](https://github.com/ossrs/srs/blob/develop/trunk/src/app/srs_app_rtc_dtls.cpp#L159) without checking the parameter 1 might cause a null dereference. **Version** master **Expected behavior** It's better to add a check before using...
Potential memory leak in [libevent_http_bench.c](https://github.com/Qihoo360/evpp/blob/master/benchmark/http/libevent/libevent_http_bench.c#L159) line 159 Calling evhttp_new() without calling evhttp_free() to free the memory will cause a memory leak. [Doc](https://libevent.org/doc/http_8h.html#a12b2e61a0088e3707198876ae1e61f3f) says "evhttp_free free the previously created HTTP server."