segv in dlopen.c

Help
2007-10-11
2013-06-13
  • Ilan Aelion

    Ilan Aelion - 2007-10-11

    Hi Bugle folk,

    I noticed a bit of a segv with the latest bugle release trying to get a trace off glxgears with an ATI card. Here's a fix to mend this - I'd submit it on the patches list only I couldn't find one.

    - Ilan

      ----- patch follows -----

    --- dlopen.c.orig    2007-10-11 18:54:33.000000000 +0200
    +++ dlopen.c    2007-10-11 18:53:07.000000000 +0200
    @@ -44,7 +44,7 @@

    void *dlopen(const char *filename, int flag)
    {
    -    if (bypass_dlopen)
    +    if (bypass_dlopen && filename != NULL)
         {
             if (strcmp(filename, "libGL.so") == 0
                 || strcmp(filename, "libGL.so.1") == 0)

     
    • Bruce Merry

      Bruce Merry - 2007-10-11

      Thanks, good spot. I'll make sure this goes into the next release.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks