Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 03. Numeric Types and Operations (NUM)
NUM00-J. Detect or prevent integer overflow
Page Information
Title:
NUM00-J. Detect or prevent integer overflow
Author:
Efstathios Mertikas
Oct 28, 2008
Last Changed by:
Valery
Oct 14, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/PDdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (5)
Page:
VNA02-J. Ensure that compound operations on shared variables are atomic
Page:
NUM01-J. Do not perform bitwise and arithmetic operations on the same data
Page:
NUM14-J. Use shift operators correctly
Page:
NUM02-J. Ensure that division and remainder operations do not result in divide-by-zero errors
Page:
NUM12-J. Ensure conversions of numeric types to narrower types do not result in lost or misinterpreted data
Hierarchy
Parent Page
Page:
Rule 03. Numeric Types and Operations (NUM)
Labels
Global Labels (7)
cwe-190
android
cwe-191
num
rule
android-implementation-detail-java
cwe-682
Recent Changes
Time
Editor
Oct 14, 2024 02:14
Valery
View Changes
Oct 11, 2024 02:38
Valery
View Changes
Oct 10, 2024 11:49
Admin
View Changes
Aug 06, 2021 09:17
Jon O'Donnell
View Changes
May 18, 2021 08:37
Michal Rozenau
Parasoft Jtest 2021.1
View Page History
Outgoing Links
External Links (16)
download.oracle.com/javase/6/docs/api/java/util/concurrent/…
https://code.google.com/p/mezzofanti/issues/detail?id=1
java.sun.com/docs/books/jls/third_edition/html/typesValues.…
cwe.mitre.org/data/definitions/682.html
cwe.mitre.org/
cwe.mitre.org/data/definitions/190.html
www.aitcnet.org/isai/
docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-1…
https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/d…
https://www.safaribooksonline.com/library/view/secure-codin…
https://pvs-studio.com/en/docs/warnings/v5308/
https://pvs-studio.com/en/docs/warnings/v6117/
docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.…
cwe.mitre.org/data/definitions/191.html
docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.…
SEI CERT Oracle Coding Standard for Java (11)
Page:
Coverity
Page:
Parasoft_V
Page:
NUM01-J. Do not perform bitwise and arithmetic operations on the same data
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
Rule BB. Glossary
Page:
Parasoft
Page:
CodeSonar_V
Page:
Rule AA. References
Page:
PVS-Studio_V
Page:
VNA02-J. Ensure that compound operations on shared variables are atomic
Page:
Rule 03. Numeric Types and Operations (NUM)
SEI CERT C Coding Standard (3)
Page:
CodeSonar
Home page:
SEI CERT C Coding Standard
Page:
INT32-C. Ensure that operations on signed integers do not result in overflow
Overview
Content Tools
{"serverDuration": 83, "requestCorrelationId": "12e4bb79da5156be"}