Public bug reported:

when dlmopen glib2.0 and the program is linked with pthread, glib2.0 crashed in 
g_variant_lookup_value when dlmopen with 

following is the poc:

#define _GNU_SOURCE
#include <dlfcn.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>

int main(int argc, char*argv[])
  char buf[4096] = {0};
  pthread_attr_t attr;

  snprintf(buf, sizeof(buf), "/lib/x86_64-linux-gnu/");
  dlmopen(-1, buf, RTLD_NOW|RTLD_LOCAL);
  return 0;

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  dlmopen glib2.0 crashed in g_variant_lookup_value

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to