Code

Programming Languages: C

License: MIT License

Repositories

browse code, statistics, last commit on 2012-05-14 cvs -d:pserver:anonymous@expat.cvs.sourceforge.net:/cvsroot/expat login

cvs -z3 -d:pserver:anonymous@expat.cvs.sourceforge.net:/cvsroot/expat co -P modulename

Show:

What's happening?

  • Comment: undocumented XML_SetHashSalt(p, 0) semantics

    Documentation corrected in reference.html rev. 1.76. The sentinel value for the hash salt could be changed to a different value in a later release, if this behavior causes a real issue. However, no code should depend on the internal workings of the hash function in Expat.

    2012-05-14 17:31:36 PDT by kwaclaw

  • Expat XML Parser

    kwaclaw committed patchset 1171 of module expat to the Expat XML Parser CVS repository, changing 1 files.

    2012-05-14 17:28:15 PDT by kwaclaw

  • undocumented XML_SetHashSalt(p, 0) semantics

    Per e-mail discussion: Tomas Hoger noticed that the semantics of XML_SetHashSalt are surprising when 0 is passed. That value does not force a fixed hash salt, as might be expected from reading the API description, but instead implies use of a random hash salt, per startParsing(): if (hash_secret_salt == 0) hash_secret_salt = generate_hash_secret_salt(); Which is the...

    2012-05-14 08:58:43 PDT by jorton

  • Comment: potential null pointer dereference

    The similar issue is in the xmlparse.c, line #5478. The id->prefix may be set to null however in the next line the pointer is dereferenced without any check.

    2012-05-08 07:51:32 PDT by tomaszmi

  • potential null pointer dereference

    Expat version 2.1.0 There may be a potential null pointer dereference in the xmlparse.c file, line 2914. The lookup function may return NULL and this case is not checked before the line #2914. I'm not familiar with expat details, however in general if such case is not possible, it would be good to make sure the program will be terminated/aborted, for instance using assert: assert(id);.

    2012-05-08 06:56:54 PDT by tomaszmi

  • Comment: GetAttributeInfo missing from def file

    Yes, that is an omission. However, I can only add it as commented out, as this would break the default build which excludes this function. I also forgot to add XML_SetHashSalt. These issues are fixed in libexpat(w).dev rev. 1.10.

    2012-05-05 17:10:47 PDT by kwaclaw

  • Expat XML Parser

    kwaclaw committed patchset 1170 of module expat to the Expat XML Parser CVS repository, changing 2 files.

    2012-05-05 17:10:00 PDT by kwaclaw

  • Comment: GetAttributeInfo missing from def file

    Better yet, I missed the ordinal: ; added with version 2.1.0 XML_GetAttributeInfo @66.

    2012-04-30 16:14:03 PDT by skelband

  • GetAttributeInfo missing from def file

    The new GetAttributeInfo() function is missing from the libexpat.def file for inclusion as an export in the generated libexpat.dll Please add the following to the end of the file lib/libexpat.def: ; added with version 2.1.0 XML_GetAttributeInfo Thanks!

    2012-04-30 16:11:21 PDT by skelband

  • Need pkg-config file for libexpatw (unicode)

    README documents howto build additional libraries for Unicode version of expat, but it's missing documentation / or build system is missing method for installing additional pkg-config files for them, like expatw.pc for libexpatw.so.

    2012-04-18 12:59:13 PDT by ssuominen

Our Numbers

  • Bugs (31 open / 512 total)
  • Patches (11 open / 86 total)