davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

PyLong_FromString not considered initializing end pointer #167

Open dvarrazzo opened 5 years ago

dvarrazzo commented 5 years ago

The function PyLong_FromString takes an optional pointer pend and returns a pointer to the unparsed part of the string. This is not considered and results in false positives, e.g. in this function.