Commit 21ff211
committed
Changed the opcode of _pickle module to look for 00 and 01 specifically
The python pickle module looks for "00" and "01" but _pickle only looked for 2 characters that parsed to 0 or 1, meaning some payloads like "+0" or " 0" would lead to different results in different implementations1 parent 8fdbbf8 commit 21ff211
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5255 | 5255 | | |
5256 | 5256 | | |
5257 | 5257 | | |
5258 | | - | |
| 5258 | + | |
5259 | 5259 | | |
5260 | 5260 | | |
5261 | 5261 | | |
| |||
0 commit comments