getlogin() needs changing

Bug #743902 reported by Andrew Hutchings on 2011-03-27
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Andrew Hutchings
7.0
Won't Fix
High
Andrew Hutchings
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
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers