[Python-Dev] mysnprintf broken (original) (raw)
Neil Schemenauer nas@python.ca
Sun, 25 Nov 2001 11:31:38 -0800
- Previous message: [Python-Dev] re: PEP 275: Switching on Multiple Values, Rev 1.2
- Next message: [Python-Dev] Re: mysnprintf broken
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The code uses vsprintf with a buffer that is 512 larger than ``n''. Obviously that is easy to overflow. Is there some reason why we can't incorporate a free snprintf implementation? There is a list available at http://www.ijs.si/software/snprintf/.
Neil
- Previous message: [Python-Dev] re: PEP 275: Switching on Multiple Values, Rev 1.2
- Next message: [Python-Dev] Re: mysnprintf broken
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]