---- rintintin ~ $ lsb_release -a
LSB Version:    
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
Codename:       precise
---- rintintin ~ $ cat >gl.c
#include <unistd.h>
#include <stdio.h>

int main(void) {
   puts(getlogin());
   return 0;
}
---- rintintin ~ $ gcc gl.c && ulimit -c unlimited && ./a.out
Segmentation fault (core dumped)

I'll attach the core dump.

** Attachment added: "core dump"
   
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1032740/+attachment/3475864/+files/core

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1032740

Title:
  libc6 isn't returning a valid user in char *getlogin()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1032740/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to