• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • mplayerplug-in for mozilla
  • Patches

plugin-list buffer overflow

Brought to you by: kdekorte
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Support Requests
    • Patches
    • Feature Requests
  • News
  • Discussion
  • Donate
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#23 plugin-list buffer overflow

open
nobody
None
5
2009-05-26
2009-05-26
Anonymous
No

Visiting the following URL causes a segfault with version 3.55:
http://www.bbc.co.uk/iplayer/episode/p0034mqx/William_Wright_25_05_2009/

#0 0xb7e98daf in memmem () from /lib/libc.so.6
#1 0xb21f888c in buildPlaylist (instance=0xa4128f8, file=0xa414508 "/tmp/mplaycO2fho", parent=0xa413508)
at Source/plugin-list.cpp:843
#2 0xb21e826c in nsPluginInstance::DestroyStream (this=0xa4128f8, stream=0x9fc3aa8, reason=0)
at Source/plugin.cpp:1459
#3 0xb21ed9e8 in NPP_DestroyStream (instance=0xa411fc0, stream=0x9fc3aa8, reason=<value optimized out>)
at plugingate/npp_gate.cpp:181
#4 0xb794e5b7 in ?? () from /usr/lib/xulrunner-1.9.0.10/libxul.so
#5 0x0a411fc0 in ?? ()
#6 0x09fc3aa8 in ?? ()
#7 0x00000000 in ?? ()

This is fixed by adding a further break condition to a loop to avoid a buffer overflow. There may be a more elegant way of doing this :)

Discussion

  • Nobody/Anonymous

    Nobody/Anonymous - 2009-05-26
     
    playlist-segfault.patch
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    225 Broadway Suite 1600
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.