[fixes] Fix a couple of EXC_BAD_ACCESS memory access bugs on OSX that cause real instability #2991

Merged
merged 2 commits into from Jul 22, 2013

Projects

None yet

3 participants

@night199uk

These 2 bugs cause a significant amount of crashes on OSX especially when scanning movies and downloading images.

night199uk added some commits Jul 20, 2013
@night199uk night199uk [fix] string copy allocated in function params can be destroyed befor…
…e access via *end pointer causing EXC_BAD_ACCESS
37f3554
@night199uk night199uk [fix] ffmpeg uses a 16-byte stride when scaling images, which can ove…
…rrun the texture buffer which is only 2-byte aligned, causing a segfault on OSX/iOS
2a3ad14
@night199uk night199uk merged commit c18fcf2 into xbmc:master Jul 22, 2013
@Memphiz
Team Kodi member

awesome catch - thx - this should fix software rendering on those systems :)

@davilla

nice catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment