Project

General

Profile

Actions

Bug #4250

closed

libdtrace should use "F" specifier on fopen()

Added by Robert Mustacchi almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
DTrace
Start date:
2013-10-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

While this was fixed in dtrace_freopen(), the fopen() calls in dt_load_libs_dir() and dt_load_libs_sort() don't use the "F" specifier. They should, since they don't expose the FILE pointer, so it's safe to get more than 256 file handles here (even if the calling program is not safe and already exceeding the limit).

Actions #1

Updated by Robert Mustacchi almost 10 years ago

  • % Done changed from 90 to 100

Resolved in 93ed8d0d4b068b95d0bb50d57bb854df462a8485.

Actions #2

Updated by Robert Mustacchi almost 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF