Skip to content

Conversation

@AndrewX98
Copy link
Contributor

@AndrewX98 AndrewX98 commented Dec 29, 2025

Minecraft 1.21.130.3 uses libPlayFabMultiplayer.so which requires the __strlcpy_chk symbol from Bionic libc. Without it, the game fails to load:

dlopenfailed: cannot locate symbol "__strlcpy_chk"

This PR adds the missing implementation following the same pattern as other fortified functions (__memcpy_chk, __strcpy_chk , etc.).

Changes:

common.h : Added function declaration
common.cpp : Added implementation with bounds checking, registered in
add_string_shimmed_symbols

Tested with: Minecraft 1.21.130.3, 1.21.144

((((Very important remove the libmcpelauncher-updates.so))))

@reedacartwright
Copy link
Contributor

You should close this pull request and create a new one without all the refactoring and reformatting.

I'm only a lurker here, but the number of lines changed in this pull request makes it hard to review.

@AndrewX98 AndrewX98 closed this by deleting the head repository Dec 30, 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