comparison src/protocols/novell/nmfield.h @ 8753:c7e9687bfd79

[gaim-migrate @ 9508] " This patch fixes a possible integer overflow when allocating memory in nm_read_fields." --Mike Stoddard committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 22 Apr 2004 04:44:41 +0000
parents 046dd8ef2920
children 6663ad2386d9
comparison
equal deleted inserted replaced
8752:0861903359f9 8753:c7e9687bfd79
124 #define NM_PROTOCOL_VERSION 2 124 #define NM_PROTOCOL_VERSION 2
125 125
126 #define NM_FIELD_TRUE "1" 126 #define NM_FIELD_TRUE "1"
127 #define NM_FIELD_FALSE "0" 127 #define NM_FIELD_FALSE "0"
128 128
129 #define NMFIELD_MAX_STR_LENGTH 32768
130
129 /** 131 /**
130 * Count the number of fields 132 * Count the number of fields
131 * 133 *
132 * @param fields Field array 134 * @param fields Field array
133 * 135 *