Project

General

Profile

Actions

Bug #11515

open

objecter: potential integer overflow in linger_check() return code

Added by Josh Durgin almost 9 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code Hygiene
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Objecter
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This is unlikely in practice, but it's casting the age in msec from uint64_t to int in the return. It should probably cap the returned age at INT_MAX.

Actions #1

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category changed from Objecter to Code Hygiene
  • Component(RADOS) Objecter added
Actions

Also available in: Atom PDF