bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld crashing at method names containing '__U'


From: Karl Pitrich
Subject: ld crashing at method names containing '__U'
Date: Wed, 12 May 2004 23:13:07 +0200

hi,

my code contains a method "GetTypeDefinition__UserRoleList()".

when linking a .so, the linker segfaults.

we traced the problem to:

demangler/include/bits/demangle.h:
  session<Allocator>::decode_unicode()


the code always check for a valid hex digit after __U.

is this a sane thing to do for method names?
(is that becasue of java? c/c++ method names cannot contain unicode
characters, afaik)


a) the linker should not segfault, but produce an error at this point.

b) checking of unicode char occurences should be ommited for method
names. (?)


thanks for reply andor fix.


 / karl


Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]