Project

General

Profile

Actions

Bug #7543

closed

rgw: off-by-one bug in rgw_trim_whitespace()

Added by Xiangyu Lv about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There is an off-by-one bug in rgw_trim_whitespace(). It results in trimming off all characters with input like " t".

Actions #1

Updated by Xiangyu Lv about 10 years ago

I've sent a pull request to fix this bug at https://github.com/ceph/ceph/pull/1321
Please help to review it.

Actions #2

Updated by Yehuda Sadeh about 10 years ago

  • Status changed from New to Pending Backport
  • Backport set to dumpling
Actions #3

Updated by Sage Weil about 10 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF