php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50999 unaligned memory access in dba_fetch()
Submitted: 2010-02-10 19:12 UTC Modified: 2010-03-05 03:30 UTC
From: geissert at debian dot org Assigned: felipe (profile)
Status: Closed Package: DBM/DBA related
PHP Version: 5.3SVN-2010-02-12 OS: linux ia64
Private report: No CVE-ID: None
 [2010-02-10 19:12 UTC] geissert at debian dot org
Description:
------------
There's an unaligned memory access on zend_parse_arg_impl():

*p = Z_LVAL_PP(arg);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-10 20:59 UTC] geissert at debian dot org
Failed test: ext/dba/tests/dba_cdb_read.phpt log:
---- EXPECTED OUTPUT
database handler: cdb
7YYYYNNN
=1234
#1122
?1212314
#1212314
=1231324
---- ACTUAL OUTPUT
database handler: cdb
7YYYYNNN
=1234
#1122
?1212314
#1212314
=Bus error (core dumped)
---- FAILED
 [2010-03-03 01:29 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=295764
Log: - Possible fix for bug #50999
 [2010-03-03 01:30 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-03-03 01:30 UTC] felipe@php.net
Hello, I've committed a possible fix, could you check it again? Thanks.
 [2010-03-03 01:31 UTC] felipe@php.net
-Package: Scripting Engine problem +Package: DBM/DBA related
 [2010-03-05 02:30 UTC] geissert@php.net
-Status: Feedback +Status: Closed
 [2010-03-05 02:30 UTC] geissert@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Yes, it seems to enough to fix it. Thanks.
 [2010-03-05 03:30 UTC] felipe@php.net
-Summary: unaligned memory access in Zend/zend_API.c +Summary: unaligned memory access in dba_fetch()
 [2010-03-05 03:33 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=295840
Log: - BFN #50999
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 14:02:33 2024 UTC