Actions
Bug #40747
closedRecent rgw-website change causes master FTBFS on OpenSUSE Build Service
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The OpenSUSE Build Service takes various precautions designed to prevent vectors for malicious code execution from entering the operating system. One of these checks is now failing for the most recent build of Ceph master:
[ 7240s] I: Program returns random data in a function [ 7240s] E: ceph no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/ceph-15.0.0-2657-ge41b17ad50/src/rgw/rgw_rest_s3.cc:3577 [ 7240s] [ 7240s] I: Program returns random data in a function [ 7240s] E: ceph no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/ceph-15.0.0-2657-ge41b17ad50/src/rgw/rgw_rest_s3.cc:3577
The problematic code, introduced by 4ffc765c4c5debc665ade7769c4647c3a7278fd2, is:
RGWOp *RGWHandler_REST_Bucket_S3::get_obj_op(bool get_data) { // Non-website mode int list_type = 1; s->info.args.get_int("list-type", &list_type, 1); // Non-website mode // Non-website mode if (get_data) { if (list_type == 1) { return new RGWListBucket_ObjStore_S3; } else if(list_type == 2) { return new RGWListBucket_ObjStore_S3v2; } } else { return new RGWStatBucket_ObjStore_S3; } }
Updated by Nathan Cutler almost 5 years ago
- Subject changed from rgw-website to Recent rgw-website change causes master FTBFS on OpenSUSE Build Service
- Assignee set to Nathan Cutler
Updated by Jos Collin almost 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 28809
Updated by Nathan Cutler almost 5 years ago
- Assignee changed from Nathan Cutler to Jos Collin
Updated by Jos Collin almost 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Ernesto Puerta over 4 years ago
- Status changed from Resolved to Pending Backport
Updated by Ernesto Puerta over 4 years ago
- Copied to Backport #42836: nautilus: Recent rgw-website change causes master FTBFS on OpenSUSE Build Service added
Updated by Nathan Cutler over 4 years ago
- Has duplicate Bug #42881: nautilus: rgw: "Program returns random data in a function" in src/rgw/rgw_rest_s3.cc added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions