php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58612 resource functions read too much data
Submitted: 2009-04-03 03:07 UTC Modified: 2015-04-05 05:42 UTC
From: scm at apsag dot com Assigned:
Status: Suspended Package: win32std (PECL)
PHP Version: 5.2.9 OS: Windows XP + 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scm at apsag dot com
New email:
PHP Version: OS:

 

 [2009-04-03 03:07 UTC] scm at apsag dot com
Description:
------------
I have a dll with quite a lot resource strings, created using Visual C. It seems that there's a problem with all resource functions that they do not separate the strings correctly. The example on the wildphp.free.fr does not list the right number of existing resources and reading them using res_get() gives strings that contain in fact multiple string resources tied together.

Reproduce code:
---------------
Use the example on the wildphp.free.fr and try reading the resources of arvy.dll that you may download with this link:

http://apsserver.apsag.com/downloads/ARVY.dll


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-05 05:42 UTC] sobak@php.net
-Status: Open +Status: Suspended
 [2015-04-05 05:42 UTC] sobak@php.net
Sorry, but apparently this package is not maintained anymore. Marking this bug as "Suspended" for now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC