getlogin() needs changing

Bug #743902 reported by Andrew Hutchings
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Andrew Hutchings
7.0
Won't Fix
High
SatoshiNakamoto
7.1
Fix Released
High
Andrew Hutchings

Bug Description

In the drizzle clients we use getlogin(). We need to:

1. change this to getpwuid(geteuid()) for various reasons (getlogin() doesn't work in several cases, causes a valgrind leak, etc...)
2. add it to console plugin

Related branches

Changed in drizzle:
importance: Undecided → High
Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

Lee: this has minor security implications in our GA so probably will need backporting to Elliott too

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.