Skip to content

Commit

Permalink
Fix stack overflow on recursive module import.
Browse files Browse the repository at this point in the history
The import would load modules that had already been loaded instead of just importing the symbols. This would cause stack overflows if a module happened to accidentally re-load itself indefinitely. This fixes the overflow by importing but not loading modules that recurse.

fixes #367
  • Loading branch information
grafikrobot committed Apr 19, 2024
1 parent ec49b98 commit e249722
Show file tree
Hide file tree
Showing 2 changed files with 300 additions and 294 deletions.
4 changes: 4 additions & 0 deletions doc/src/history.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

== Version 5.2.0

* Fix incorrect recursive loading of modules when doing recursive importing of
modules. The recursive loading would cause stack overflows.
-- _René Ferdinand Rivera Morell_

== Version 5.1.0

This is mostly a bugfix release to account for issues impacting Boost Libraries.
Expand Down
Loading

0 comments on commit e249722

Please sign in to comment.