CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 56: CS0-002: CompTIA CySA+ Certification Exam (CS0-002)

An internally developed file-monitoring system identified the following excerpt as causing a program to crash often: char filedata[100]; fp = fopen(`access.log`, `r`); srtcopy (filedata, fp); printf (`%s\n`, filedata);Which of the following should a security analyst recommend to fix the issue?

Nội dung câu hỏi

An internally developed file-monitoring system identified the following excerpt as causing a program to crash often: char filedata[100]; fp = fopen(`access.log`, `r`); srtcopy (filedata, fp); printf (`%s\n`, filedata);Which of the following should a security analyst recommend to fix the issue?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Open the access.log file in read/write mode.
  2. B. Replace the strcpy function. — đáp án hiện tại
  3. C. Perform input sanitization.
  4. D. Increase the size of the file data butter.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề