[389-devel] Please review (take 2): [389 Project] #48143: Password is not correctly passed to perl command line tools if it contains shell special characters.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/48143

https://fedorahosted.org/389/attachment/ticket/48143/0001-Ticket-48143-Password-is-not-correctly-passed-to-per.2.patch
git patch file (master) -- revised to use shellEscape to escape special characters

Thank you for the comment, Rich.  I've attached the second patch...

On 04/07/2015 01:34 PM, 389 Project wrote:
#48143: Password is not correctly passed to perl command line tools if it contains
shell special characters.
-------------------------------------------+-------------------------------
         Reporter:  dmytroleonenko          |          Owner:  nhosoi
             Type:  defect                  |         Status:  accepted
         Priority:  major                   |      Milestone:  0.0
        Component:  Command Line Utilities  |  NEEDS_TRIAGE
       Resolution:                          |        Version:  1.2.11
       Blocked By:                          |       Keywords:
           Review:  review?                 |       Blocking:
Red Hat Bugzilla:                          |  Ticket origin:  Community
-------------------------------------------+-------------------------------

Comment (by rmeggins):

  I think you will still run into problems if the password contains ' or \.
  Instead, you might want to use the shellEscape function in DSUtil.pm.


--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux