Commit Graph

3 Commits

Author SHA1 Message Date
Peter Foley dfaf20a5e2
Avoid calling strlen on uninitialized data (#6747)
GetINCHIfromINCHI calls strlen on szOptions, which leads to undefined behavior as it's not a valid null-terminated byte string.
Explicitly NULL out the char* to avoid this.
2021-11-02 21:41:37 +00:00
Michael Jezierny db59caa2d2
Update download URL for InChI library. (#5075)
One of the InChI maintainers contacted me over email to inform us of the
new release, so I'm updating the URL.
2021-01-29 16:18:39 -08:00
Ravi Jotwani 81a82c35ab
[inchi] Initial Integration (#4222)
* added inchi_input_fuzzer

* converted fuzzer to C, removed const_cast<char *>

* place szINCHISource in heap rather than stack, reduce size of szINCHIKey

* disable ubsan and update todo

* Update InChI with new URL and contact address.

Co-authored-by: Michael Jezierny <mtjz@google.com>
2020-09-11 11:03:44 -07:00