This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1050] New: SIGSEGV on static GCONV, --enable-static-gconv implemented


If glibc decides GCONV should be static (@elf@!=yes) the current code crashes on:
cd=iconv_open("UNKNOWN_CODE","OR_UNKNOWN_CODE");
/* cd != -1 */
iconv(cd,...);
As "fct" there is NULL.

There are some other bugs fixed in the patch, please request its split if required.

It also implements: --enable-static-gconv
like --enable-static-nss, original '@elf@!=yes' condition changes this way.
Requirements for static nss and static gconv look the same for me, it should be
autodetected the same way.

-- 
           Summary: SIGSEGV on static GCONV, --enable-static-gconv
                    implemented
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: web-sources dot redhat dot com at jankratochvil dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i386-redhat-linux-gnu
  GCC host triplet: i386-redhat-linux-gnu
GCC target triplet: i386-redhat-linux-gnu
OtherBugsDependingO 1045
             nThis:


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1050

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]