[Python-Dev] Is core dump always a bug? Advice requested (original) (raw)

Raymond Hettinger python at rcn.com
Mon May 10 13:25:00 EDT 2004


is ceval intended to be robust against random strings masquerading as valid byte code (which would seem require an InvalidByteCode exception).

I don't think ceval.c can protect itself against invalid bytecoding without tons of additional checks. For example, BUILD_LIST n, can potentially pop past the beginning of the stack where n is a random code.

Raymond



More information about the Python-Dev mailing list