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

Noriko Hosoi nhosoi at redhat.com
Tue Apr 7 22:25:19 UTC 2015


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



More information about the 389-devel mailing list