|  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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 07:01:31 2024 UTC