Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 880313 Details for
Bug 1082346
magic_load() produces memory leaks
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Reproducer
reproducer.c (text/x-csrc), 645 bytes, created by
Tomas Mlcoch
on 2014-03-30 13:41:52 UTC
(
hide
)
Description:
Reproducer
Filename:
MIME Type:
Creator:
Tomas Mlcoch
Created:
2014-03-30 13:41:52 UTC
Size:
645 bytes
patch
obsolete
>#include <stdio.h> >#include <stdlib.h> >#include <errno.h> >#include <string.h> >#include <magic.h> > >int >main() >{ > int rc = EXIT_SUCCESS; > magic_t ms = NULL; > int msflags = MAGIC_CHECK | MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS; > > ms = magic_open(msflags); > if (ms == NULL) { > fprintf(stderr, "magic_open(0x%x) failed: %s\n", msflags, strerror(errno)); > rc = EXIT_FAILURE; > goto exit; > } > > if (magic_load(ms, NULL) == -1) { > fprintf(stderr, "magic_load failed: %s\n", magic_error(ms)); > rc = EXIT_FAILURE; > goto exit; > } > >exit: > > if (ms) > magic_close(ms); > > return rc; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1082346
: 880313