Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: f9db3eeae3d75f123caf34db0947aeea9899b6c2
      
https://github.com/synfig/synfig/commit/f9db3eeae3d75f123caf34db0947aeea9899b6c2
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

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

  Log Message:
  -----------
  fix crash on ValueDescSet action: not every list is a dynamic one (#2354)

It makes a dynamic_cast and defer the pointer without checking for null

Not every list is a dynamic list, so it can crash.

Crash example:

1. With Polygon tool, create a polygon shape (not region/outline)
2. Convert its 'Vertex List' parameter to Switch value node type
3. Activate 'Switch' parameter of Switch value node
4. *crash *




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

Reply via email to