~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-security

« back to all changes in this revision

Viewing changes to libclamav/str.h

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-04-06 14:21:16 UTC
  • mfrom: (0.35.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100406142116-9jwi9mqh3mdvi8mq
Tags: 0.95.3+dfsg-1ubuntu0.09.04.1
* SECURITY UPDATE: (LP: #553266)
* References clamav bugs #1771 and #1826
* libclamav/mspack.c: fix Quantum decompressor (bb#1771)
  - clamav git 224fee54dd6cd8933d7007331ec2bfca0398d4b4
* libclamav/mspack.c: improve unpacking of malformed cabinets (bb#1826)
  - clamav git 31b77b3fb589ab07e7b4d84f8b3825178864ee51
* based on work by Scott Kitterman

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
char *cli_str2hex(const char *string, unsigned int len);
43
43
char *cli_utf16toascii(const char *str, unsigned int length);
44
44
char *cli_strtokbuf(const char *input, int fieldno, const char *delim, char *output);
45
 
const char *cli_memstr(const char *haystack, int hs, const char *needle, int ns);
 
45
const char *cli_memstr(const char *haystack, unsigned int hs, const char *needle, unsigned int ns);
46
46
char *cli_strrcpy(char *dest, const char *source);
47
47
size_t cli_strtokenize(char *buffer, const char delim, const size_t token_count, const char **tokens);
48
48
int cli_isnumber(const char *str);