pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Merged in EionRobb/security/EionRobb/fix-for-crash-when-sending-invalid-xml-e-1487474010880 (pull request #15)
release-2.x.y
2017-03-01, Gary Kramlich
e85451478ebe
Merged in EionRobb/security/EionRobb/fix-for-crash-when-sending-invalid-xml-e-1487474010880 (pull request #15)
Fix for crash when sending invalid xml entities separated by whitespace, eg " 3000;"
Approved-by: Gary Kramlich
Approved-by: dx
/* This file is part of the Project Athena Zephyr Notification System.
* It contains source for the ZCompareUID function.
*
* Created by: Robert French
*
* Copyright (c) 1987 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
#include
"internal.h"
int
ZCompareUID
(
uid1
,
uid2
)
ZUnique_Id_t
*
uid1
,
*
uid2
;
{
return
(
!
memcmp
((
char
*
)
uid1
,
(
char
*
)
uid2
,
sizeof
(
*
uid1
)));
}