mirror of
https://github.com/python/cpython.git
synced 2026-05-18 18:33:57 -04:00
84167d09cd
there was no verification that privateobj was a PyString. If it wasn't a string, this could have allowed a NULL pointer to creep in below and crash. I wonder if this should be PyString_CheckExact? Must identifiers be strings or can they be subclasses? Klocwork #275