Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 4826ca1957f9f9e872c37b42da9903586f0f7a98
      
https://github.com/synfig/synfig/commit/4826ca1957f9f9e872c37b42da9903586f0f7a98
  Author: ice0 <konop...@gmail.com>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

  Changed paths:
    M synfig-studio/src/synfigapp/blineconvert.cpp

  Log Message:
  -----------
  Fixed crash when using Draw tool (Fedora/Flatpak)

This issue is reproduced with Flatpak build and on Fedora.
The reason is that Fedora enables _GLIBCXX_ASSERTIONS  compile flag by default.
https://fedoraproject.org/wiki/Changes/HardeningFlags28

And Synfig crashes when reads off the end of the vector.


  Commit: 6703a6f94d071864f92e4c85672f50555fe5d838
      
https://github.com/synfig/synfig/commit/6703a6f94d071864f92e4c85672f50555fe5d838
  Author: ice0 <konop...@gmail.com>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Enabled `libstdc++` debug checking for CMake debug builds

We have a crash when using Draw tool in Flatpak build.
The crash was caused by an additional bounds check that is used in the Flatpak 
build.

So I enabled this flag for CMake debug build too.
This will help us find such problems faster.

_GLIBCXX_ASSERTIONS allows to cheap range checks for C++ arrays, vectors, and 
strings.


  Commit: 0ab9d69e4ce0b923d22185b2f6508b71ea7162cd
      
https://github.com/synfig/synfig/commit/0ab9d69e4ce0b923d22185b2f6508b71ea7162cd
  Author: ice0 <konop...@gmail.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M CMakeLists.txt
    M synfig-studio/src/synfigapp/blineconvert.cpp

  Log Message:
  -----------
  Merge PR (#2445): Fixed crash when using Draw tool (Fedora/Flatpak)

Fixed crash when using Draw tool (Fedora/Flatpak)


Compare: https://github.com/synfig/synfig/compare/943ca1e9aa83...0ab9d69e4ce0


_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to