dlmopen glib2.0 crashed in g_variant_lookup_value
Bug #1763591 reported by
bin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glib2.0 (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
when dlmopen glib2.0 and the program is linked with pthread, glib2.0 crashed in g_variant_
LM_ID_NEWLM
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;
pthread_
snprintf(buf, sizeof(buf), "/lib/x86_
dlmopen(-1, buf, RTLD_NOW|
return 0;
}
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software on https:/ /gitlab. gnome.org/ GNOME/glib/ issues/