Bug 40384 - missing shell glob escapes
missing shell glob escapes
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 4.1
Other Linux
: P5 normal (vote)
: UCS@school 4.1 Errata
Assigned To: Florian Best
Daniel Tröder
:
Depends on: 40031
Blocks: 40712
  Show dependency treegraph
 
Reported: 2016-01-07 10:19 CET by Florian Best
Modified: 2016-02-17 14:02 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-01-07 10:19:49 CET
The same goes for UCS@school:

ucs-school-import/hooks/ou_create_post.d/40dhcpsearchbase_create:       local val="$(echo $1 | tr [:upper:] [:lower:])"
ucs-school-import/hooks/ou_create_post.d/52marktplatz_create:   local val="$(echo $1 | tr [:upper:] [:lower:])"
ucs-school-umc-exam/hooks/ou_create_post.d/60schoolexam-master: local val="$(echo $1 | tr [:upper:] [:lower:])"


+++ This bug was initially created as a clone of Bug #40031 +++
Comment 1 Florian Best univentionstaff 2016-01-07 12:50:35 CET
Removed the functions and use is_ucr_true from univention-lib now.

ucs-school-import (12.0.2-1):
r66627 | Bug #40384: Copyright 2016
r66626 | Bug #40384: use univention-shell-lib

ucs-school-umc-exam (5.0.3-1):
r66627 | Bug #40384: Copyright 2016
r66626 | Bug #40384: use univention-shell-lib
Comment 2 Daniel Tröder univentionstaff 2016-01-15 09:14:52 CET
OK: code
OK: manual test:
# touch /tmp/test
# /usr/share/ucs-school-import/hooks/ou_create_post.d/60schoolexam-master /tmp/test ou=school01,$ldap_base
(doesn't create anything useful, but execution path covers the affected code)
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:30:10 CET
UCS@school 4.1 v4 has been released.

If this error occurs again, please use "Clone This Bug".