diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-12 15:47:05 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-10-12 15:09:37 +0000 |
commit | 715a612aba23f52bad52732df6880926b46898f7 (patch) | |
tree | 9610a6717dc11a491797d2115faef1a7a65e9bb2 /src/vty/telnet_interface.c | |
parent | 8ebc1acbaa827a439c7e6724f5456075b9eeb5ea (diff) |
vty: Fix left shifting out of range on signed variable
Fixes following ASan runtime errors while running vty tests:
src/vty/command.c:3088:27: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
src/vty/command.c:3136:23: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Change-Id: Ie11ff18d6fd9f6e1e91a51b6156fb6b0b7d3a9a8
Diffstat (limited to 'src/vty/telnet_interface.c')
0 files changed, 0 insertions, 0 deletions