[Bug 351730] Re: php5 crashed with SIGSEGV in memcpy()

2009-06-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/php5

-- 
php5 crashed with SIGSEGV in memcpy()
https://bugs.launchpad.net/bugs/351730
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 351730] Re: php5 crashed with SIGSEGV in memcpy()

2009-03-30 Thread Kees Cook

** Attachment added: CoreDump.gz
   http://launchpadlibrarian.net/24529404/CoreDump.gz

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/24529406/Dependencies.txt

** Attachment added: Disassembly.txt
   http://launchpadlibrarian.net/24529407/Disassembly.txt

** Attachment added: ProcMaps.txt
   http://launchpadlibrarian.net/24529408/ProcMaps.txt

** Attachment added: ProcStatus.txt
   http://launchpadlibrarian.net/24529409/ProcStatus.txt

** Attachment added: Registers.txt
   http://launchpadlibrarian.net/24529410/Registers.txt

** Attachment added: Stacktrace.txt
   http://launchpadlibrarian.net/24529411/Stacktrace.txt

** Attachment added: ThreadStacktrace.txt
   http://launchpadlibrarian.net/24529412/ThreadStacktrace.txt

** Bug watch added: bugs.php.net/ #47828
   http://bugs.php.net/bug.php?id=47828

** Also affects: php via
   http://bugs.php.net/bug.php?id=47828
   Importance: Unknown
   Status: Unknown

** Visibility changed to: Public

-- 
php5 crashed with SIGSEGV in memcpy()
https://bugs.launchpad.net/bugs/351730
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 351730] Re: php5 crashed with SIGSEGV in memcpy()

2009-03-30 Thread Marc Deslauriers
Upstream patch:

HEAD: 
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.179r2=1.180
5.3: 
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.98.2.5.2.41.2.27r2=1.98.2.5.2.41.2.28
5.2: 
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.98.2.5.2.51r2=1.98.2.5.2.52

-- 
php5 crashed with SIGSEGV in memcpy()
https://bugs.launchpad.net/bugs/351730
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 351730] Re: php5 crashed with SIGSEGV in memcpy()

2009-03-30 Thread Kees Cook
#0  0x7f92c332d2a3 in memcpy () from /lib/libc.so.6
#1  0x006551b8 in _estrndup (s=0x7fffce3e2f30 0Y�\001, 
length=4294967295) at /usr/include/bits/string3.h:52
#2  0x00674fbb in add_next_index_stringl (arg=0x1c25a60, 
str=0x7fffce3e2f30 0Y�\001, length=4294967295, duplicate=1)
at /build/buildd/php5-5.2.6.dfsg.1/Zend/zend_API.c:1213
#3  0x00466fdd in add_assoc_name_entry (val=0x6f1f9f, 
key=0x101b63c40 Address 0x101b63c40 out of bounds, name=0x1b10e20, 
shortname=32767)
at /build/buildd/php5-5.2.6.dfsg.1/ext/openssl/openssl.c:307
#4  0x0046720d in zif_openssl_x509_parse (ht=29541608, 
return_value=0x6e69207372656b61, return_value_ptr=0xbfff, 
this_ptr=0x3fbc, return_value_used=1048576)
at /build/buildd/php5-5.2.6.dfsg.1/ext/openssl/openssl.c:1024
#5  0x006a8b6d in zend_do_fcall_common_helper_SPEC (
execute_data=0x7fffce3e32a0)
at /build/buildd/php5-5.2.6.dfsg.1/Zend/zend_vm_execute.h:200
#6  0x006940a4 in execute (op_array=0x1c24a10)
at /build/buildd/php5-5.2.6.dfsg.1/Zend/zend_vm_execute.h:92
#7  0x0066fd68 in zend_execute_scripts (type=32767, retval=0x0, 
file_count=-834784296) at /build/buildd/php5-5.2.6.dfsg.1/Zend/zend.c:1215
#8  0x00629ef2 in php_execute_script (primary_file=Cannot access memory 
at address 0x8000ce3e2330
)
at /build/buildd/php5-5.2.6.dfsg.1/main/main.c:2028
#9  0x006f020b in main (argc=-834774360, argv=0x7f92c32b9210)
at /build/buildd/php5-5.2.6.dfsg.1/sapi/cli/php_cli.c:1148

-- 
php5 crashed with SIGSEGV in memcpy()
https://bugs.launchpad.net/bugs/351730
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 351730] Re: php5 crashed with SIGSEGV in memcpy()

2009-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package php5 - 5.2.6.dfsg.1-3ubuntu3

---
php5 (5.2.6.dfsg.1-3ubuntu3) jaunty; urgency=low

  * debian/patches/fix-segfault-in-openssl.patch: Fixes sigsegv
when using openssl_x509_parse (LP: #351730)

 -- Chuck Short zul...@ubuntu.com   Mon, 30 Mar 2009 15:34:17 -0400

** Changed in: php5 (Ubuntu)
   Status: New = Fix Released

-- 
php5 crashed with SIGSEGV in memcpy()
https://bugs.launchpad.net/bugs/351730
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs