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

wu_check: Skip WUs without input files #3274

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

stream1972
Copy link
Contributor

Description of the Change
This tool cannot handle workunits without input files (e.g. if task parameters are set from command line). Accesses uninitialized memory, trying to open a file with a garbage name, prints a garbage on screen. In 'repair' mode, it will erroneously kill these completely normal workunits.

The patch silently skips such types of workunits.

Release Notes
N/A

@Rytiss
Copy link
Contributor

Rytiss commented Sep 10, 2019

This does not follow the coding style as described in the wiki, namely - it should either be a one-liner or have curly braces (my preference is the latter).

The patch content itself seems valid.

@davidpanderson
Copy link
Contributor

Need braces. Other than that, fine.

@stream1972
Copy link
Contributor Author

Braces style fixed

@Rytiss Rytiss merged commit b541c2d into BOINC:master Sep 12, 2019
@stream1972 stream1972 deleted the stream_for_merge branch September 12, 2019 11:09
@AenBleidd AenBleidd added this to the Server Release 1.4.1 milestone Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants