CodeAnt AI home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Join Community
Start Here
What is CodeAnt?
Setup
Github
Bitbucket
Gitlab
Azure Devops
Pull Request Review
Features
Customize Review
Quality Gates
Integrations
Scan center
Code Security
Code Quality
Cloud Security
Engineering Productivity
Integrations
Jira
Test Coverage
CI/CD
IDE
Setup
Review
Enhancements
Rule Reference
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
Resources
Open Source
Blogs
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.