]> The Tcpdump Group git mirrors - tcpdump/commit
BGP: Fix overwrites of global 'astostr' temporary buffer
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 25 May 2021 16:23:19 +0000 (18:23 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 25 May 2021 16:34:15 +0000 (18:34 +0200)
commitcf6c3fb2ad11e3ce94401b4371d91def79934310
treecdd7be8f184ace59dab0224cfcf613bcdb7400d2
parent59d322719785f4bc2a00bc4c2a35f93efc82f189
BGP: Fix overwrites of global 'astostr' temporary buffer

Remove the global 'astostr'.

Use a local 'astostr' in the functions that use it.

This should fix GitHub issue #919.

Moreover:
Rename 'asbuf' to 'astostr'.
print-bgp.c