Memory leak in CHtpasswdSecurityManager::loadPwds

Description

CHtpasswdSecurityManager::loadPwds contains a try/catch block. Multiple string exceptions can be thrown from within the try, directly in the method and presumably indirectly from methods called. These exceptions are immediately caught and a new, generic string exception is thrown in their place.

The original exception is leaked. The exception is not captured by the catch and is not released.

Conclusion

None

Activity

Show:

Tim Klemm June 9, 2020 at 12:33 PM

Based on the discussion in https://hpccsystems.atlassian.net/browse/HPCC-24203#icft=HPCC-24203, the fix will be to propagate the manager generated exceptions, and to replace any others to reflect that the exception is related to the manager. Only those exceptions replaced will be released.

Tim Klemm June 8, 2020 at 8:18 PM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Fix versions

Created June 8, 2020 at 8:11 PM
Updated June 25, 2020 at 2:51 PM
Resolved June 25, 2020 at 2:51 PM

Flag notifications