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

Also available in: Atom PDF