Skip to content

fix(web): stop ignoring SSL errors on requests that didn't ask to - #185

Merged
mcoliver merged 2 commits into
mainfrom
fix/web-manager-ssl-errors
Oct 28, 2026
Merged

mcoliver merged 2 commits into
mainfrom
fix/web-manager-ssl-errors

Conversation

@mcoliver

@mcoliver mcoliver commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #184; review the last commit.

Requests sent through networkAccessManager() (from Mu or Python packages) accepted invalid certificates silently, because RvWebManager ignored SSL errors on every request it hadn't started itself. They now fail like httpGet()/httpPost()/httpPut() requests, which already default to not ignoring them.

  • UTV_IGNORE_SSL_ERRORS=1 restores the old behaviour, for sites whose certificates the system doesn't trust.
  • A refused certificate is always logged with the host, so a failing request says why.
  • The Mu Qt bindings' RvNetworkAccessManager (built, but not created anywhere today) follows the same rule.

The Apple ProRes SDK path reads the frame size from every packet and
resizes its own pixel buffer to match, but allocated the output frame
only once. A later packet with a larger size made the packed-to-planar
conversion write past the end of that frame.

decode_frame() now drops the frame's buffer when the size or format
changes and allocates a new one, checks av_frame_get_buffer(), and
rejects packets with a zero width or height.

Only builds made with RV_DEPS_APPLE_PRORES_SDK_ZIP_PATH are affected.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
RvWebManager ignored certificate errors for every request it didn't
start itself, which includes everything packages send through
networkAccessManager(). An invalid or self-signed certificate was
accepted without a word, so a man-in-the-middle went unnoticed.

Those requests now fail on SSL errors like the ones made with
httpGet()/httpPost()/httpPut(), which already default to not ignoring
them. Setting UTV_IGNORE_SSL_ERRORS=1 restores the old behaviour for
sites whose certificates the system doesn't trust. A refused
certificate is always logged with the host, not only when
RV_REPORT_QNETWORK_ERRORS is set.

The Mu Qt bindings' RvNetworkAccessManager ignored every SSL error
unconditionally. Nothing creates one today; it now follows the same
rule.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver merged commit 0400d00 into main Oct 28, 2026
21 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