New submission from Ramin Farajpour Cami :
Hi,
When we use "a"*100 in print("a"*100) function, Show
"MemoryError",Again i use print("1") again display "MemoryError", I think
memory not release for use again,
>>
Change by Ramin Farajpour Cami :
--
title: Never release buffer when MemoryError in prtin() -> Never release buffer
when MemoryError in print()
___
Python tracker
<https://bugs.python.org/issu
Ramin Farajpour Cami added the comment:
Version :
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:43:08) [MSC v.1926 32 bit
(Intel)] on win32
--
___
Python tracker
<https://bugs.python.org/issue43
Ramin Farajpour Cami added the comment:
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 16:33:24) [MSC v.1928 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("a"*1
Change by Ramin Farajpour Cami :
--
type: -> crash
___
Python tracker
<https://bugs.python.org/issue43260>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Ramin Farajpour Cami :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue43260>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ramin Farajpour Cami :
Hi,
Asan has detected a memory leak :
$ wget https://github.com/python/cpython/archive/v3.9.2.tar.gz
$ tar xvf v3.9.2.tar.gz
$ ./configure --disable-shared CFLAGS="-fsanitize=address -ggdb"
CXXFLAGS="-fsanitize=address -ggdb"
Change by Ramin Farajpour Cami :
--
nosy: +christian.heimes, lys.nikolaou, pablogsal
___
Python tracker
<https://bugs.python.org/issue43303>
___
___
Python-bug
Change by Ramin Farajpour Cami :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue43303>
___
___
Python-bugs-
New submission from Ramin Farajpour Cami:
Hi,
issue from python in encode base64 with Json Model in twice encode with base64
output python different with JAVA and C# , if programmer using rest-service in
server side and other programmer using UI(Python Django) in client site , this
encode
Ramin Farajpour Cami added the comment:
why any update in python 2.7?
you should using a function this code change :
enc_sec =
ZXlKMWMyVnlUbUZ0WlNJNkltRmtiV2x1SWl3aWNHRnpjM2R2Y21RaU9pSmhaRzFwYmlKOQo=
url = re.sub('\o=$','',enc_sec)
result = url.replace(
Ramin Farajpour Cami added the comment:
no close plz,
i using python 2.7.3 i get this output without "\n"?
code:
json_obj='{"userName": "admin", "password": "admin"}'
enc
New submission from Ramin Farajpour Cami:
this work on python 2.7.10 and 2.7.11 crash,
C:\Users\RaminFP>cdb -g python C:\Users\RaminFP\Desktop\1.py
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: python C:\Us
Ramin Farajpour Cami added the comment:
static char *
mymemreplace(const char *str, Py_ssize_t len,
const char *pat, Py_ssize_t pat_len,pattern string to find
*/
const char *sub, Py_ssize_t sub_len,substitution string */
Py_ssize_t
Ramin Farajpour Cami added the comment:
The issue can be triggered by performing a large substitution that overflows
the arithmetic used in mymemreplace() to calculate the size of the new string:
--
___
Python tracker
<http://bugs.python.
Ramin Farajpour Cami added the comment:
python 2.7.10 32bit and python 2.7.11 64bit crash on windows 10
--
___
Python tracker
<http://bugs.python.org/issue26
Ramin Farajpour Cami added the comment:
Do you have any idea how to fix it?
--
___
Python tracker
<http://bugs.python.org/issue26059>
___
___
Python-bugs-list m
Ramin Farajpour Cami added the comment:
please look image :
Thanks,
--
Added file: http://bugs.python.org/file41580/123.PNG
___
Python tracker
<http://bugs.python.org/issue26
Ramin Farajpour Cami added the comment:
also linux Ubuntu version Python 2.7.6
--
Added file: http://bugs.python.org/file41583/12.png
___
Python tracker
<http://bugs.python.org/issue26
Ramin Farajpour Cami added the comment:
I say work this problem on version 2.7.11
--
___
Python tracker
<http://bugs.python.org/issue26059>
___
___
Python-bug
Ramin Farajpour Cami added the comment:
Not work ,i think should check sizeof of memory avoid overflow
assert(new_len > 0 && new_len <= PY_SSIZE_T_MAX);
--
___
Python tracker
<http://bugs.pyth
Ramin Farajpour Cami added the comment:
Yes!I use python version 2.7.11 and my Windows machine stop and crashed, on cmd
Windows,
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
Ramin Farajpour Cami added the comment:
i trust me ,i don't undrestand :( , work for me this print
strop.replace("\x100"*0xEAAA,"\x100","AA"*0x) .
now test again my system machine crash and i restart windows,
my info system :
Host Name:
Ramin Farajpour Cami added the comment:
i test python version 2.7.11 32 bit i get your error , but 64 bit no crashed,
CommandLine: python.exe
Symbol search path is:
srv*c:\pubsymbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 1c3c 1c3cb000 python.exe
Ramin Farajpour Cami added the comment:
here version :
C:\python2711>python.exe
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information
Ramin Farajpour Cami added the comment:
i try install windows on VMWare and get video for you, in primary OS i my
system crash i can't save video or image for you ,
--
___
Python tracker
<http://bugs.python.org/is
Ramin Farajpour Cami added the comment:
also work it , windows 7 OS 64bit with python 2.7.11 64bit,
this is a vulnerability in python 2.7.11 64bit version,
please look video,
https://drive.google.com/file/d/0B0zktfkIvV-LajlIQ0p0eWZjd0U/view
Ramin Farajpour Cami added the comment:
"Your video only shows the operation taking a long time or hanging as far as I
can tell," what your means?
i say my OS crash with run function strop i should restart manually for work
again,
do you have idea
Ramin Farajpour Cami added the comment:
Yes,
i have any idea,
Thanks,
--
resolution: -> wont fix
___
Python tracker
<http://bugs.python.org/issue26059>
___
_
New submission from Ramin Farajpour Cami:
import imghdr
imghdr.what('phppng.png')
output :
'png'
if you set javascript script in file .png or .jpg ,
output :
ValueError: invalid \x escape
Hexdump:
root@Ramin:~# hexdump -C phppng.png
89 50 4e 47 0d 0a 1a 0a 00
Changes by Ramin Farajpour Cami :
--
nosy: +serhiy.storchaka
___
Python tracker
<http://bugs.python.org/issue26337>
___
___
Python-bugs-list mailing list
Unsub
Ramin Farajpour Cami added the comment:
images can be served with a content type of text/html,(which means we can
certainly inject HTML).
--
___
Python tracker
<http://bugs.python.org/issue26
Ramin Farajpour Cami added the comment:
In normal if you choose a image and open image with editor set codes to image
you get error , but I able to bypass image for upload if I use module imghdr
for check valid image , booom upload image with malicious code
33 matches
Mail list logo