Re: [PATCH / request for votes] CHANGES: BUG: 2815: Display UTF-8 characters again

Wes Hardaker via Net-snmp-coders <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Bart Van Assche <[email protected]> writes:

|> Before commit 7f05daa8e0e0 sprint_realloc_octet_string() used memcpy()
|> for ASCII strings. That caused the output to be truncated if a '\0' was
|> embedded in an octet string. Commit 7f05daa8e0e0 fixed that issue but
|> broke UTF-8 support. Restore UTF-8 support by only using
|> sprint_realloc_asciistring() if the octet string contains a '\0'.

Ick.  But I guess we don't have a choice so +1
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.