Univention Bugzilla – Attachment 5809 Details for
Bug 34215
Undefined variables and insufficient tests of user input in share_restrictions.py
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix variable definitions and non-existing shares
fix-variables-and-share-definitions.patch (text/plain), 554 bytes, created by
Jan Christoph Ebersbach
on 2014-03-03 12:02:03 CET
(
hide
)
Description:
Fix variable definitions and non-existing shares
Filename:
MIME Type:
Creator:
Jan Christoph Ebersbach
Created:
2014-03-03 12:02:03 CET
Size:
554 bytes
patch
obsolete
>--- /usr/share/pyshared/univention/lib/share_restrictions.py.orig 2014-03-03 11:48:48.797611606 +0100 >+++ /usr/share/pyshared/univention/lib/share_restrictions.py 2014-03-03 11:49:27.362203380 +0100 >@@ -298,7 +298,9 @@ > > # set share options to -> shares > def _set_options( self, value, share, option ): >- if match and share and options and value: >+ if share and option and value: >+ if not share in self._shares: >+ self._shares[ share ] = Share( share ) > if not option in self._shares[ share ]: > self._shares[ share ][ option ] = set() >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34215
: 5809