Browse Source

fix dlopen UB due to longjmp/volatile rules violation

rs-1.0
Rich Felker 15 years ago
parent
commit
2fdea17c3d
  1. 2
      src/ldso/dynlink.c

2
src/ldso/dynlink.c

@ -536,7 +536,7 @@ void *__dynlink(int argc, char **argv, size_t *got)
void *dlopen(const char *file, int mode)
{
struct dso *p, *orig_tail = tail, *next;
struct dso *volatile p, *orig_tail = tail, *next;
size_t i;
if (!file) return head;

Loading…
Cancel
Save