Make sure program_map is not NULL
authorErik Hovland <erik@hovland.org>
Wed, 4 Sep 2013 17:14:17 +0000 (10:14 -0700)
committerErik Hovland <erik@hovland.org>
Wed, 4 Sep 2013 17:14:17 +0000 (10:14 -0700)
commitf5aef06300332c7e7c480a92e12d47a377e71d70
tree1ebc24fdf8a2bab27d3e3aec8029ccea40527532
parent331ab3e8cad189f89252e2df17554bac8286219b
Make sure program_map is not NULL

pgc->program_map should be checked before dereferencing. On the DVD
"Jack Reacher" this was discovered as a problem.

Bug discovery and suggested fix given by Cathy McDonald. Thanks!
src/searching.c