Bart Van Assche <bvanass...@acm.org> 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 net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders