diff options
author | wm4 <wm4@nowhere> | 2013-09-18 17:02:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-18 19:08:51 +0200 |
commit | b97d10a839aee875ac8157a84bb008d82f53219a (patch) | |
tree | 1a843b8422a66aed8e2272d57b8ba86eb78499e5 /stream/vcd_read_win32.h | |
parent | bb4ea8bb3e78b74b4eb2a621ab3a781a307c07c3 (diff) | |
download | mpv-b97d10a839aee875ac8157a84bb008d82f53219a.tar.bz2 mpv-b97d10a839aee875ac8157a84bb008d82f53219a.tar.xz |
path: fix undefined behavior
The homepath variable was static, and its value was set to a stack
buffer. This means a second invocation of the function would trigger
undefined behavior. Moreover the stack buffer always went out of scope
before homepath was used.
Diffstat (limited to 'stream/vcd_read_win32.h')
0 files changed, 0 insertions, 0 deletions