Project

General

Profile

Bug #531

input checking for g_hbond

Added by Peter Kasson about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
analysis tools
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

g_hbond will segfault on a null pointer dereference in compute_derivative() if called with -f foo.gro and the -ac option. Computing an autocorrelation function for a single snapshot is clearly stupid, but we should add some error checking.

History

#1 Updated by Erik Lindahl about 9 years ago

Fixed in commit e144cd50165e96847c856f94242b1bc19e952fa2.

Also available in: Atom PDF