Skip to content
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

[UBSAN] 'value' may be used uninitialized in GBRForestTools.cc #35607

Closed
iarspider opened this issue Oct 11, 2021 · 6 comments
Closed

[UBSAN] 'value' may be used uninitialized in GBRForestTools.cc #35607

iarspider opened this issue Oct 11, 2021 · 6 comments

Comments

@iarspider
Copy link
Contributor

iarspider commented Oct 11, 2021

UBSAN

src/CommonTools/MVAUtils/src/GBRForestTools.cc: In function 'std::unique_ptr<GBRForest> {anonymous}::init(const string&, std::vector<std::__cxx11::basic_string<char> >&)':
  src/CommonTools/MVAUtils/src/GBRForestTools.cc:163:18: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
   163 |       info[name] = value;

source

Maybe check return values of all QueryFooAttribute calls - just in case the XML format changes?

@cmsbuild
Copy link
Contributor

A new Issue was created by @iarspider .

@Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@iarspider
Copy link
Contributor Author

assign reconstruction

@cmsbuild
Copy link
Contributor

New categories assigned: reconstruction

@slava77,@jpata you have been requested to review this Pull request/Issue and eventually sign? Thanks

@jpata
Copy link
Contributor

jpata commented Aug 31, 2022

+reconstruction

@jpata
Copy link
Contributor

jpata commented Aug 31, 2022

@cmsbuild please close

@cmsbuild
Copy link
Contributor

This issue is fully signed and ready to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants