Get Started
- CodeAnt AI
- Control Center
- Pull Request Review
- IDE
- Compliance
- Anti-Patterns
- Code Governance
- Infrastructure Security Database
- Application Security Database
- Apex
- Bash
- C
- Clojure
- Cpp
- Lang
- Correctness
- Security
- Containers
- Crypto
- Filesystem
- Format-string
- Ldap
- Libraries
- Memory
- Allocation
- Deallocation
- Integer-overflow-allocation
- Negative-return-value-array-index
- Null-deref
- Null-library-function
- Unvalidated-array-index
- Misc
- Rng
- Sql
- Strings
- System-command
- Uri
- Use-after-free
- Libxml2
- Csharp
- Dockerfile
- Elixir
- Fingerprints
- Generic
- Go
- Html
- Java
- Javascript
- Json
- Kotlin
- Ocaml
- Php
- Problem-based-packs
- Python
- Ruby
- Rust
- Scala
- Solidity
- Swift
- Terraform
- Typescript
- Yaml
Null-library-function
Null library function
The $SOURCE
function returns NULL on error and this line dereferences the return value without checking for NULL.
Likelihood: LOW
Confidence: HIGH
CWE:
- CWE-476: NULL Pointer Dereference