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 591804 Details for
Bug 832025
libvorbisfile for i686 always fails at ov_open_callbacks()
[?]
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.
A small C program to demonstrate the bug.
readTest.c (text/x-csrc), 1.12 KB, created by
flibitijibibo
on 2012-06-14 10:44:40 UTC
(
hide
)
Description:
A small C program to demonstrate the bug.
Filename:
MIME Type:
Creator:
flibitijibibo
Created:
2012-06-14 10:44:40 UTC
Size:
1.12 KB
patch
obsolete
>/* Explosion Test Case for libvorbis.fc16.i686 > * > * Directions: > * 1. gcc -m32 readTest.c -lvorbisfile > * 2. ./a.out someAudioFileYouHave.ogg > * 3. ???? > * 4. Infinite loop of failure? > * > * Notes: > * - I think the problem is that the SEEK_??? values are borked. > * We should be getting SEEK_CUR first, but it's always SEEK_SET. > * Feel free to test that bit for yourself. > * - A 64-bit version of this will do just fine in F16. > * It appears the problem is solely in the 32-bit lib. > * - I tested libvorbis.fc17.i686 and it seemed to be happy. > * What's the difference? > * > * Love, flibit > */ > >#include <stdio.h> >#include "vorbis/vorbisfile.h" > >int main(int argc, char* argv[]) >{ > // No, silly, you need a file for this! > if (argc < 2) > { > printf("Use: ./a.out fileName.ogg\n"); > return 0; > } > > // Load file, create variable for loaded file > FILE* fileIn = fopen(argv[1], "rb"); > OggVorbis_File loadedFile; > > // If you write your own callbacks you might get an OV_ENOTVORBIS. > if (ov_open_callbacks(fileIn, &loadedFile, NULL, 0, OV_CALLBACKS_DEFAULT) < 0) > printf("lolerror\n"); > > // Clean up. We out. > fclose(fileIn); > return 0; >}
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 832025
: 591804