php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68813 Unchecked return value
Submitted: 2015-01-12 16:12 UTC Modified: 2017-10-24 23:28 UTC
From: bugreports at internot dot info Assigned:
Status: Suspended Package: mysqlnd_memcache (PECL)
PHP Version: master-Git-2015-01-12 (Git) OS: Linux Ubuntu 14.04
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2015-01-12 16:12 UTC] bugreports at internot dot info
Description:
------------
Hi,

In /ext/mysqlnd/mysqlnd.c:

1593        DBG_RETURN(mysqlnd_cset_escape_slashes(mysqlnd_find_charset_name("latin1"), newstr, escapestr, escapestr_len));

It is possible for mysqlnd_find_charset_name() to return NULL, which will cause a null poniter dereference.

Would be triggerable if mysqlnd_charsets->[..] did not contain "latin1".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 23:28 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:28 UTC] kalle@php.net
The mysqlnd_memcache package have not had a release since 2013 and no development since, its safe to say that this package is no longer maintained, if development picks back up then this report should be re-opened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC