benchmarks.wiki / Public workspace

MMLU-Pro / 10566 / When does a buffer overflow occur, generally speaking?

Problem

Answer published by the source. Consult the official source to check your work against its answer.

question

When does a buffer overflow occur, generally speaking?

category

computer science

options

  1. when copying a buffer from the stack to the heap
  2. when writing to a pointer that has been freed
  3. when the program runs out of memory
  4. when a pointer is used to access memory not allocated to it
  5. when a buffer is not initialized before being used
  6. when reading from a buffer that has been freed
  7. when a program tries to access a buffer that has not been declared
  8. when a buffer is empty and a read operation is attempted
  9. when the program notices a buffer has filled up, and so starts to reject requests

src

ori_mmlu-computer_security

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import