]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Don't use fdopen(socket, "a+").
authorSimon Ruderich <simon@ruderich.org>
Sun, 28 Jul 2013 11:52:11 +0000 (13:52 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 28 Jul 2013 11:52:11 +0000 (13:52 +0200)
Using it with sockets is undefined behaviour as correct usage of a+
requires seeking which is not possible on sockets. Instead use separate
read and write FILE *.


No differences found