Mercurial > pidgin.yaz
view libpurple/protocols/jabber/win32/utsname.h @ 28875:8464e695c62b
Fixes a bad MSN bug where passwords with multi-byte utf8 characters near
the 16 byte mark would cause a segmentation fault due to chopping the
multi-byte character and turning the string into invalidate utf8.
Thanks to Shaun Lindsay at Meebo for tracking this down and fixing it.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 04 Nov 2009 18:41:21 +0000 |
parents | da022013ec2a |
children |
line wrap: on
line source
#ifndef _SYS_UTSNAME_H #define _SYS_UTSNAME_H #ifdef __cplusplus extern "C" { #endif struct utsname { char sysname[20]; char nodename[20]; char release[20]; char version[20]; char machine[20]; }; int jabber_win32_uname (struct utsname *); #define uname(utsname) jabber_win32_uname(utsname) #ifdef __cplusplus } #endif #endif