[wp-trac] [WordPress Trac] #26626: WP_Upgrader::unpack_package() can overflow path name length limits (patch attached)

WordPress Trac noreply at wordpress.org
Mon Feb 24 19:59:43 UTC 2014


#26626: WP_Upgrader::unpack_package() can overflow path name length limits (patch
attached)
------------------------------------+------------------------------
 Reporter:  DavidAnderson           |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Upgrade/Install         |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 David, thanks for identifying the issue and your clear bug description and
 your sensible patch.  A unit test would be nice here, demonstrating the
 issue and validating the fix.

 I'm curious why you chose to use a substring of the md5 instead of the
 full (32 character) string?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26626#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list