summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-01-03 01:40:12 (GMT)
committerNico Weber <nicolasweber@gmx.de>2013-01-03 01:40:12 (GMT)
commit0fd3797f148a5ec1032f3a8f3b2747e8958128a0 (patch)
tree5f5e12bfac5ce98e01c56619cfbfe35f5dc2d26b /bootstrap.py
parent37b5ac7a1a8ca493edd863133e2e9f603c37dfa5 (diff)
downloadNinja-0fd3797f148a5ec1032f3a8f3b2747e8958128a0.zip
Ninja-0fd3797f148a5ec1032f3a8f3b2747e8958128a0.tar.gz
Ninja-0fd3797f148a5ec1032f3a8f3b2747e8958128a0.tar.bz2
ManifestParser constructor accesses its first argument, don't pass NULL
The constructor does env_ = &state->bindings_; so env_ is effectively set to offsetof(ManifestParser, bindings_). This will blow up if env_ gets dereferenced -- this doesn't seem to happen in these tests, but it's less confusing with this patch. Also, passing &state is consistent with the rest of this test.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions