• 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
  • SquirrelMail
  • Patches
SquirrelMail

don't check for safe mode, check if it's enabled

Brought to you by: jangliss, jervfors, kink, pdontthink
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Current Development Branch (1.5)
    • Feature Requests
    • Current Stable Branch (1.4)
    • Bugs
    • Patches
    • Docs Tracker
    • Internationalization
    • Plugins
  • News
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#478 don't check for safe mode, check if it's enabled

open
nobody
Attachments (18)
5
2012-04-11
2012-04-11
alessandro rimoldi
No

in functions/mime.php you check for safe mode being enabled before calling set_time_limit().

you should check if set_time_limit() is enabled, instead.

calling set_time_limit() when it's disabled will produce a warning and corrupt the downloaded file.

Discussion

  • alessandro rimoldi

    alessandro rimoldi - 2012-04-11
     
    mime.php.diff
    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.