Project

General

Profile

Bug #4250

libdtrace should use "F" specifier on fopen()

Added by Robert Mustacchi about 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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).

#1

Updated by Robert Mustacchi about 7 years ago

  • % Done changed from 90 to 100

Resolved in 93ed8d0d4b068b95d0bb50d57bb854df462a8485.

#2

Updated by Robert Mustacchi about 7 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF