Bug 43764 - LMDB listener code fails to build with -Wall -Werror
LMDB listener code fails to build with -Wall -Werror
Status: NEW
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
https://hutten.knut.univention.de/med...
:
Depends on: 23367
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-09 12:44 CET by Arvid Requate
Modified: 2018-04-14 14:01 CEST (History)
6 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:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:
requate: Patch_Available+


Attachments
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]
Werror=uninitialized.patch

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