| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…s not allowed Without this fix, matplotlib will crash on an upcoming release of Mac OS, becuase the CGDataProvider it creates will be accessed on a different thread after it's stack allocation's lifetime has ended.
|
Thanks! @lawrence-danna-apple would you be willing to comment on #17084 ? |
Sorry, something went wrong.
There was a problem hiding this comment.
Someone on macOS should test this, but the (Obj)C code makes sense.
Sorry, something went wrong.
There was a problem hiding this comment.
I agree, code changes look correct, but someone with an OSX machine should test this out and then merge.
Sorry, something went wrong.
There was a problem hiding this comment.
Tested and seems to work fine for me here.
Sorry, something went wrong.
…Data on a stack pointer
…263-on-v3.2.x Backport PR #17263 on branch v3.2.x (you can't call CGDataProviderCreateWithData on a stack pointer)
| Back | FazBrowse Home | New Git URL |
It's illegal to call CGDataProviderCreateWithData on a stack pointer.
Without this fix, matplotlib will crash on an upcoming release of Mac OS, becuase
the CGDataProvider it creates will be accessed on a different thread after
its stack allocation's lifetime has ended.