New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw: Fix potential null dereference in rgw/driver/dbstore/sqlite/statement.cc #52474
Conversation
@vedanshbhartia compilation fails here: https://jenkins.ceph.com/job/ceph-pull-requests/118353/consoleFull#-15211463532a811ea2-3e7b-466b-84b4-d13df7e35809 |
sql.get() return a char pointer, but it is defined via a template as follows:
The compiler interprets this as |
maybe |
@vedanshbhartia did the casting help? |
b7000b3
to
f2b5f07
Compare
…ement.cc Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
The issue was with the operator precedence. Adding parentheses fixed it |
jenkins test windows |
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
unstale please |
test results. see: #52276 (comment) |
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows