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

Set application name in macOS driver #9

Open
wants to merge 6 commits into
base: 7.7
Choose a base branch
from

Conversation

JoshuaBrest
Copy link

This pull request adds functionality to set the application name in the macOS driver. The macdrv_set_application_name function is implemented to set the application name based on the module file name. This allows for better identification of the application in macOS.

@Gcenx
Copy link

Gcenx commented Jun 7, 2024

You'd commonly want to rebase instead of adding a merge commit as those cause problems.

@JoshuaBrest
Copy link
Author

You'd commonly want to rebase instead of adding a merge commit as those cause problems.

It builds fine on my machine. I don't know of any problems on my end.

JoshuaBrest added a commit to JoshuaBrest/whisky-wine that referenced this pull request Jul 23, 2024
…rt-2-revert-1-feat/icon-title-patch

Revert "Revert "Revert "Revert "Use exe title name""""
JoshuaBrest pushed a commit to JoshuaBrest/whisky-wine that referenced this pull request Jul 23, 2024
…t-3-revert-2-revert-1-feat/icon-title-patch"

This reverts commit 8657186, reversing
changes made to 599b283.

// Get offset to the last backslash
DWORD last_char_pos = 0;
for (DWORD i = 0; i < len; i++)

Choose a reason for hiding this comment

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

iterating backward will give the same result without multiple reassignments

last_char_pos = i;
}

if (len && len < ARRAY_SIZE(app_name))
Copy link

@gennady-lebedev gennady-lebedev Aug 4, 2024

Choose a reason for hiding this comment

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

for-loop up above will also fail if this condition is false

possible OOB vulnerability

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.

3 participants