kkbp1021 / OS-Study

운영체제 스터디입니다
1 stars 0 forks source link

Heap overflow는 왜 없는가? #6

Open kkbp1021 opened 1 month ago

kkbp1021 commented 1 month ago

stackoverflow 는 이미 업계의 네임드이다... 근데 왜 heap은 듣보일까?

hoya54 commented 1 month ago
  1. 스택은 힙에 비해서 작은 크기가 고정되어 연속된 메모리 블록이 할당
  2. 힙은 가상 메모리의 최대 값까지 동적으로 비연속적인 공간을 할당