summaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-21 21:44:30 +0700
committerlaforge <laforge@osmocom.org>2019-11-30 18:49:33 +0000
commit54df08e3fac62ce99c39e71c47c9701e02b40317 (patch)
tree452ac57da7fc5edd57dc3f20c3ba171b5183a72c /src/gb
parenta3e9ef9289350076f124254d1b70285f7d439559 (diff)
libosmovty: properly initialize vty->fd in vty_new()
Since we're using talloc_zero(), vty->fd is initialized with 0, which corresponds to stdin. Let's set an invalid value to prevent potential bugs like the one fixed by the recent change [1]. [1] Icdeaea67a06da3a2f07b252e455629559ecc1829 Change-Id: Iec15649781317a23e13d2c2840a8f672050f76c1
Diffstat (limited to 'src/gb')
0 files changed, 0 insertions, 0 deletions