Bug 1076016

Summary: mkdtemp segfaults
Product: [Fedora] Fedora Reporter: Maros Zatko <mzatko>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: codonell, fweimer, jakub, law, pfrankli, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 13:09:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
tiny reproducer none

Description Maros Zatko 2014-03-13 11:45:20 UTC
Created attachment 873937 [details]
tiny reproducer

Description of problem:
Calling mkdtemp(3) ends with segmentation fault.

Version-Release number of selected component (if applicable):
2.18.12.fc20

How reproducible:
always

Steps to Reproduce:
1. gcc mkdtemp_repr.c
2. ./a.out
3. observe segfault

Actual results:
Segfault

Expected results:
Created temporary directory

Additional info:
code attached

Comment 1 Maros Zatko 2014-03-13 13:09:35 UTC
Closing for PEBKAC reason.