mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +00:00
remove a whole swath of potential buffer overflows by removing the buffer.
Also audit a few of the "FIXME: overflow" tags
This commit is contained in:
parent
59c26b5ce0
commit
ada828bdc9
12 changed files with 246 additions and 310 deletions
|
@ -51,12 +51,13 @@ qboolean Info_FilterForKey (const char *key, const char **filter_list);
|
|||
|
||||
void Info_Print (info_t *info);
|
||||
void Info_RemoveKey (info_t *info, const char *key);
|
||||
void Info_SetValueForKey (info_t *info, const char *key, const char *value, int flags);
|
||||
void Info_SetValueForStarKey (info_t *info, const char *key, const char *value, int flags);
|
||||
int Info_SetValueForKey (info_t *info, const char *key, const char *value, int flags);
|
||||
int Info_SetValueForStarKey (info_t *info, const char *key, const char *value, int flags);
|
||||
const char *Info_ValueForKey (info_t *info, const char *key);
|
||||
|
||||
info_t *Info_ParseString (const char *s, int maxsize, int flags);
|
||||
void Info_Destroy (info_t *info);
|
||||
char *Info_MakeString (info_t *info, int (*filter)(const char *));
|
||||
void Info_AddKeys (info_t *info, info_t *keys);
|
||||
|
||||
#endif // _INFO_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue