Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
1. Get used to it!
2. Wrong app, mate 😬
edit: wait wtf is that a heap overflow -
@ihatecomputers RAM/ Memory has two main methods of storage: the stack, and the heap.
In many instances, both have limited sizes.
Basically heap is for dynamic memory allocation whereas stack is for static allocation.
Heap overflow is *pretty much* the same thing as stack overflow.
Both are weird to happen in JavaScript. -
@AlgoRythm Yeah I just never seen a heap overflow before, blowing the stack happens sometimes for me tho
-
mt3o19136yMemory leaks can happen all the time, no matter the language. Stack overflow happens mostly due to misuse of recursion, heap (or general OOM) due to memory leaks.
-
Ghosty2486yLooks like you struck gold.
1. Find 0-day bug - done.
In progress:
2. Write exploit
3. ??
4. Profit. -
@Gregozor2121 Limited size. Best example is statically storing a large image on the stack. Some compilers may only give a couple megabytes for the stack, and a large image will easily overflow it.
Achievement get: heap overflow in JavaScript!
Related: Fuck me!
rant