CodeAnt AI home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Documentation
Demo Call with CEO
Blog
Slack
Get Started
CodeAnt AI
Setup
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
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
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
Negative return value array index
Unvalidated array index
Assistant
Responses are generated using AI and may contain mistakes.