[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
- Previous message: [Python-Dev] Re: Is core dump always a bug? Advice requested
- Next message: [Python-Dev] Is core dump always a bug? Advice requested
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Re: Is core dump always a bug? Advice requested
- Next message: [Python-Dev] Is core dump always a bug? Advice requested
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]