Skip to content

Replace un-sanitized range calls with xrange calls, to neutralize a potential attack vector#19

Merged
andrewbird merged 1 commit intopmarti:masterfrom
mikaelhg:master
Oct 28, 2011
Merged

Replace un-sanitized range calls with xrange calls, to neutralize a potential attack vector#19
andrewbird merged 1 commit intopmarti:masterfrom
mikaelhg:master

Conversation

@mikaelhg
Copy link
Contributor

Just try x = range(1024*1024*1024) on your own computer, if you want to see why...

andrewbird added a commit that referenced this pull request Oct 28, 2011
Replace un-sanitized range calls with xrange calls, to neutralize a potential attack vector
@andrewbird andrewbird merged commit d947f80 into pmarti:master Oct 28, 2011
@andrewbird
Copy link
Collaborator

Happy to apply, thanks!

@mikaelhg
Copy link
Contributor Author

Verified that this fixes the OOM "attack" from broken PDUs.

@pmarti
Copy link
Owner

pmarti commented Oct 31, 2011

Thanks @mikaelhg :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants