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 ZCompareUIDPred 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
ZCompareUIDPred
(
notice
,
uid
)
ZNotice_t
*
notice
;
void
*
uid
;
{
return
(
ZCompareUID
(
&
notice
->
z_uid
,
(
ZUnique_Id_t
*
)
uid
));
}
int
ZCompareMultiUIDPred
(
notice
,
uid
)
ZNotice_t
*
notice
;
void
*
uid
;
{
return
(
ZCompareUID
(
&
notice
->
z_multiuid
,
(
ZUnique_Id_t
*
)
uid
));
}