Skip to content

DT-540: Fix segmentation fault in Snap Store

Some users reported that the Snap Store crashes with a segmentation fault. The bug was a double-free memory bug, which, being on a GObject (which requires reading some data in the memory block to be free before freeing it), resulting in an invalid memory access.

This patch fixes it by compiling LIBXMLB directly instead of relying on the other parts to download and compile it. It also fixes the version to 0.3.9 and applies a patch for the double-free bug.

That patch has also been sent upstream.


Merge request reports