|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugreports at internot dot info
New email:
PHP Version: OS:


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

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".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 23:28 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 23:28 UTC]
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-2023 The PHP Group
All rights reserved.
Last updated: Fri Jun 09 02:03:37 2023 UTC