diff 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
line wrap: on
line diff
--- a/src/protocols/novell/nmfield.h	Thu Apr 22 04:43:22 2004 +0000
+++ b/src/protocols/novell/nmfield.h	Thu Apr 22 04:44:41 2004 +0000
@@ -126,6 +126,8 @@
 #define	NM_FIELD_TRUE					"1"
 #define	NM_FIELD_FALSE					"0"
 
+#define NMFIELD_MAX_STR_LENGTH			32768
+
 /**
  * Count the number of fields
  *