Fixes for memory vulnerabilities.

Source: Fedora 40: libgsf 2024-2ac7273bab Security Advisory Updates