Project

General

Profile

Actions

Bug #6108

closed

broken readdir_r usage

Added by Sage Weil over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

the buffer needs to be ~ sizeof(struct dirent) + PATH_MAX; it can't be a struct dirent or else the filename itself will clobber stuff on the stack.

Actions #1

Updated by Sage Weil over 10 years ago

  • Description updated (diff)
Actions #3

Updated by Sage Weil over 10 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF