php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63478 OAuth (all versions) leads to segmentation faults
Submitted: 2012-11-10 02:06 UTC Modified: 2013-02-18 00:36 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: zeug at tuxproject dot de Assigned:
Status: No Feedback Package: oauth (PECL)
PHP Version: Irrelevant OS: CentOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 + 37 = ?
Subscribe to this entry?

 
 [2012-11-10 02:06 UTC] zeug at tuxproject dot de
Description:
------------
Trying to use OAuth in order to write a simple Twitter bot leads to a segmentation fault. This applies to OAuth 1.0.0 and OAuth 1.2.3 with PHP 5.3.x and 5.4.7. Other PHP and OAuth versions were not tested, I'd guess it's a waste of time.

Test script:
---------------
I tested the "weather bot" oauth.php:

http://eutony.net/weatherbot.php

(call: php oauth.php register)

Expected result:
----------------
It should have returned some validation token.

Actual result:
--------------
"segmentation fault  php oauth.php register"

(I don't have root access on the Linux machine, so I can't backtrace it.)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-10 03:48 UTC] zeug at tuxproject dot de
Randomly played a bit with this issue: PHP 5.3.5-1 does not show this behavior, PHP 5.3.7 does. So it must be somewhere in-between.
 [2012-11-10 04:10 UTC] rasmus@php.net
-Status: Open +Status: Feedback
 [2012-11-10 04:10 UTC] rasmus@php.net
Without a backtrace this report isn't very useful. It works fine on thousands of 
sites, so you need to provide more details if you expect any sort of help from 
us.
 [2013-02-18 00:36 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC