Fix: NULL dereference on sampling and restoration of graph's 'can_consume'
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 17 Sep 2017 18:44:22 +0000 (14:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 17 Sep 2017 18:45:52 +0000 (14:45 -0400)
commit4aa7981f87b9c1587dc84160808b6534fc1d000b
tree71164e3f76e4a95ed3429b380ab91c0b64a6b476
parent9e607e7cc6da6b94b401dffd8b6dfd5a03ace443
Fix: NULL dereference on sampling and restoration of graph's 'can_consume'

Found by Coverity Scan. A graph's 'can_consume' state must only
be sampled after the graph argument's validation. The error paths
must also repeat that check on restoration of the state.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/graph/graph.c
This page took 0.02501 seconds and 4 git commands to generate.