Skip to content

Conversation

@chipitsine
Copy link
Contributor

No description provided.

param->str = strdup(chstr + 5);
if (!param->str)
{
WriteStatusLog(c, L"GUI> ", L"Error: Out of memory - ignoring dynamic challenge", false);
Copy link
Collaborator

@selvanair selvanair Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually static challenge :) That said, param->str is later used as if (param->str) { <display the string> } so failure here only leads to the challenge prompt string in the dialog displayed as empty, not a fatal error.

That said, erroring out here like this is fine too -- once out of memory the process is going to die sooner or later anyway.

@chipitsine chipitsine marked this pull request as draft July 10, 2024 16:24
@chipitsine chipitsine closed this by deleting the head repository Aug 1, 2025
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.

2 participants