Skip to content

Packed resources - #108

Open
mymedia2 wants to merge 1 commit into
desktop-app:masterfrom
mymedia2:patch-7
Open

Packed resources#108
mymedia2 wants to merge 1 commit into
desktop-app:masterfrom
mymedia2:patch-7

Conversation

@mymedia2

Copy link
Copy Markdown
Contributor

Dynamically load packed resources from a separate file. This reduces amount of main memory required for linking stage.

Main PR: telegramdesktop/tdesktop#17339

@mymedia2
mymedia2 force-pushed the patch-7 branch 2 times, most recently from 01854b0 to 6be7c43 Compare January 21, 2022 10:09
Dynamically load packed resources from a separate file. This
reduces amount of main memory required for linking stage.
#ifdef _DEBUG
Integration::Instance().executableDir(),
#endif
} + QStandardPaths::standardLocations(QStandardPaths::AppDataLocation);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This includes user paths such as XDG_DATA_HOME. I believe this isn't something we want and is a potential 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.

2 participants