public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/28061] New: A failing dlmopen called by an auditor crashed
@ 2021-07-07 13:13 adhemerval.zanella at linaro dot org
  2021-07-07 13:14 ` [Bug dynamic-link/28061] " adhemerval.zanella at linaro dot org
  2021-12-28 11:52 ` adhemerval.zanella at linaro dot org
  0 siblings, 2 replies; 3+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-07-07 13:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28061

            Bug ID: 28061
           Summary: A failing dlmopen called by an auditor crashed
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
  Target Milestone: ---

$ cat main.c 
int main (int argc, char *argv[])
{
  return 0;
}
$ cat auditor.c 
#define _GNU_SOURCE
#include <link.h>
#include <dlfcn.h>

unsigned int
la_version (unsigned int v)
{
  return LAV_CURRENT;
}

void la_activity (uintptr_t* cookie, unsigned int flag)
{
  dlmopen(LM_ID_BASE, "/nonexistent.so", RTLD_NOW);
}
$ gcc -Wall main.c -o main
$ gcc -shared -fpic auditor.c -o libauditor.so -ldl
$ LD_AUDIT=./libauditor.so ./main 
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug dynamic-link/28061] A failing dlmopen called by an auditor crashed
  2021-07-07 13:13 [Bug dynamic-link/28061] New: A failing dlmopen called by an auditor crashed adhemerval.zanella at linaro dot org
@ 2021-07-07 13:14 ` adhemerval.zanella at linaro dot org
  2021-12-28 11:52 ` adhemerval.zanella at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-07-07 13:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28061

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |adhemerval.zanella at linaro dot o
                   |                            |rg

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug dynamic-link/28061] A failing dlmopen called by an auditor crashed
  2021-07-07 13:13 [Bug dynamic-link/28061] New: A failing dlmopen called by an auditor crashed adhemerval.zanella at linaro dot org
  2021-07-07 13:14 ` [Bug dynamic-link/28061] " adhemerval.zanella at linaro dot org
@ 2021-12-28 11:52 ` adhemerval.zanella at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-12-28 11:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28061

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.35
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.35 (484e672ddabe0a919a692520e6ac8f2580866235).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-28 11:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 13:13 [Bug dynamic-link/28061] New: A failing dlmopen called by an auditor crashed adhemerval.zanella at linaro dot org
2021-07-07 13:14 ` [Bug dynamic-link/28061] " adhemerval.zanella at linaro dot org
2021-12-28 11:52 ` adhemerval.zanella at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).