]> granicus.if.org Git - python/commit
Fix potential NULL pointer dereference in update_symbols()
authorChristian Heimes <christian@python.org>
Thu, 8 Sep 2016 22:22:28 +0000 (00:22 +0200)
committerChristian Heimes <christian@python.org>
Thu, 8 Sep 2016 22:22:28 +0000 (00:22 +0200)
commit45af0c83da093ac8f6756d98c36e064e7c01b19b
treed0a7f44d22680fd5dc774f931db5bcef38809a34
parentbb0b0d9ff0c8521ce0e96006ce5382f09ac07c33
Fix potential NULL pointer dereference in update_symbols()

symtable_analyze() calls analyze_block() with bound=NULL. Theoretically
that NULL can be passed down to update_symbols(). update_symbols() may
deference NULL and pass it to PySet_Contains()
Python/symtable.c