Bug 43764 - LMDB listener code fails to build with -Wall -Werror
LMDB listener code fails to build with -Wall -Werror
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.4-2-errata
Assigned To: Philipp Hahn
Sönke Schwardt-Krummrich
Depends on: 23367
  Show dependency treegraph
Reported: 2017-03-09 12:44 CET by Arvid Requate
Modified: 2020-07-13 11:14 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Development Internal
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): Cleanup
Max CVSS v3 score:
requate: Patch_Available+

Werror=uninitialized.patch (425 bytes, patch)
2017-03-09 12:44 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2017-03-09 12:44:04 CET
Created attachment 8510 [details]

The LMDB listener code fails to build with -Wall -Werror

cc -g -O2 -Wall -Werror -D_FILE_OFFSET_BITS=64   -c -o cache_dn.o cache_dn.c
cache_dn.c: In function ‘dntree_lookup_id4ldapdn’:
cache_dn.c:130:5: error: ‘rv’ may be used uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors

+++ This bug was initially created as a clone of Bug #23367 +++
Comment 1 Philipp Hahn univentionstaff 2019-10-23 16:07:02 CEST
git:b17b49ce8e03ed596bf9e9dfaceca1ced0156815 = release-4.3-3~1043
 Bug #47783 UDL: Fix compilation error

Nothing more to release.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2020-07-13 10:51:43 CEST
Already fixed. Nothing to do.