diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-08-21 10:08:29 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:15:49 +0200 |
commit | a4e62de5dc1cf79a80a79e56dd58cd151f008429 (patch) | |
tree | b1c215726103625fca8205e8c124414f81fa5008 /cpuinfo.c | |
parent | 39e80404fad555a01276138f7606b0f9db65d731 (diff) | |
download | mpv-a4e62de5dc1cf79a80a79e56dd58cd151f008429.tar.bz2 mpv-a4e62de5dc1cf79a80a79e56dd58cd151f008429.tar.xz |
stream: make stream_read_line() terminate line on EOF
Make sure we return an "empty" line on eof, to make sure we get
no buffer overflows in case some code fails to check the return value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31999 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpuinfo.c')
0 files changed, 0 insertions, 0 deletions