Skip to content

Forward-merge release/26.06 into main#1280

Merged
rgsl888prabhu merged 1 commit into
mainfrom
release/26.06
May 21, 2026
Merged

Forward-merge release/26.06 into main#1280
rgsl888prabhu merged 1 commit into
mainfrom
release/26.06

Conversation

@rapids-bot
Copy link
Copy Markdown
Contributor

@rapids-bot rapids-bot Bot commented May 21, 2026

Forward-merge triggered by push to release/26.06 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

…ple init (#1235)

Fix two MAJOR SonarQube bugs on `main`.

- `cpp:S6214` in the MPS parser: `fread()` (size_t) was compared to a `long bufsize`. The earlier `bufsize != -1L` guard only rules out the ftell error sentinel, not other negatives. Switched the equality to `std::cmp_equal` (C++20).
- `c:S836` in the C MILP example: `objective_value` was read by `printf` unconditionally despite being assigned only inside `if (has_primal_solution)`. Moved that read — and the related `solution_values[i]` access a few lines down, which had the same problem (latent NULL deref) — inside the guard.

Authors:
  - Ramakrishnap (https://github.com/rgsl888prabhu)

Approvers:
  - Trevor McKay (https://github.com/tmckayus)
  - Rajesh Gandham (https://github.com/rg20)

URL: #1235
@rapids-bot rapids-bot Bot requested review from a team as code owners May 21, 2026 21:49
@rapids-bot rapids-bot Bot requested review from Kh4ster, rg20 and rgsl888prabhu May 21, 2026 21:49
@rapids-bot
Copy link
Copy Markdown
Contributor Author

rapids-bot Bot commented May 21, 2026

FAILURE - Unable to forward-merge due to an error, manual merge is necessary. Do not use the Resolve conflicts option in this PR, follow these instructions https://docs.rapids.ai/maintainers/forward-merger/

IMPORTANT: When merging this PR, do not use the auto-merger (i.e. the /merge comment). Instead, an admin must manually merge by changing the merging strategy to Create a Merge Commit. Otherwise, history will be lost and the branches become incompatible.

@rgsl888prabhu rgsl888prabhu merged commit 6da457e into main May 21, 2026
18 checks passed
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.

1 participant