Skip to content

Read of coll par line in molinit can overflow #104

@allegroLeiden

Description

@allegroLeiden

Thanks to @dquenard for raising this.

In molinit.c line 192 the comment string for a collision partner is read. The read is 80 characters long (although the array is dimensioned to 200), but some comments can be longer than this, eg in the LAMBDA database file for CH2: http://home.strw.leidenuniv.nl/~moldata/datafiles/c2h_h2_e.dat. Lime seg faults when it tries to read this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions