Update of /cvsroot/python/python/dist/src/Modules In directory usw-pr-cvs1:/tmp/cvs-serv23969 Modified Files: rotormodule.c Log Message: Don't accept null bytes in the key. Index: rotormodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/rotormodule.c,v retrieving revision 2.33 retrieving revision 2.34 diff -C2 -d -r2.33 -r2.34 *** rotormodule.c 31 Mar 2002 15:27:00 -0000 2.33 --- rotormodule.c 10 Jun 2002 19:46:18 -0000 2.34 *************** *** 598,605 **** Rotorobj *r; char *string; - int len; int num_rotors = 6; ! if (!PyArg_ParseTuple(args, "s#|i:newrotor", &string, &len, &num_rotors)) return NULL; --- 598,604 ---- Rotorobj *r; char *string; int num_rotors = 6; ! if (!PyArg_ParseTuple(args, "s|i:newrotor", &string, &num_rotors)) return NULL;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4