Skip to content

Latest commit

 

History

History
executable file
·
18 lines (14 loc) · 399 Bytes

README.md

File metadata and controls

executable file
·
18 lines (14 loc) · 399 Bytes

DrawerDemo

Demo that causes dynamic-stack-buffer-overflow

The issue is caused by the DrawerView protocol:

protocol DrawerView where Self: UIViewController {
    func configureDrawer(containerView: UIView, overlaidView: UIView)
}

If you remove the where condition, it will not crash.

protocol DrawerView {
    func configureDrawer(containerView: UIView, overlaidView: UIView)
}