php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45549 Don't require
Submitted: 2008-07-17 20:03 UTC Modified: 2008-07-17 20:05 UTC
From: Keisial at gmail dot com Assigned:
Status: Suspended Package: PHP-GTK related
PHP Version: 5.3CVS-2008-07-17 (snap) OS: Linux
Private report: No CVE-ID: None
 [2008-07-17 20:03 UTC] Keisial at gmail dot com
Description:
------------
GtkMozEmbed::render_data[1] and GtkMozEmbed::append_data[2] receive a data parameter and a int one with the length of that data, just as their C versions [3],[4]. However, this is unneeded, confusing and potentially incoherent for PHP, whose strings are binary-safe.

So an override should be added for them to get the length from the string.

1-http://gtk.php.net/manual/en/mozembed.gtkmozembed.method.render_data.php
2-http://gtk.php.net/manual/en/gtk.gtkmozembed.method.append_data.php
3-http://www.mozilla.org/unix/gtk-embedding.html#gtk_moz_embed_render_data
4-http://www.mozilla.org/unix/gtk-embedding.html#gtk_moz_embed_append_data


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-17 20:05 UTC] auroraeosrose@php.net
As we don't have a lot of manpower right now and this is a feature request, it will have to wait until someone writes the override
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC