Skip to content

Project that reproduces a dynamic-stack-buffer-overflow crash

Notifications You must be signed in to change notification settings

ksoftllc/DynamicStackBufferOverflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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)
}

About

Project that reproduces a dynamic-stack-buffer-overflow crash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages