[PATCH] Junos output contains NULL bytes
paravoid at debian.org
Thu Jul 2 14:13:30 UTC 2009
[I tried reporting this on Trac but both preview and submit were timing
out, while the rest of the site works]
It seems that rtconfig's output for Junos results in some NULL bytes
spanning in various lines of the output which effectively makes the
output unsuitable for use.
The attached patch fixes this bug; please carefully review, I think it
shouldn't introduce any buffer overflows but I can easily be wrong.
Both 4.8.5 and cruft-cleanout/r280 were returning garbaged output using
@RtConfig import AS5408 10.0.0.1 AS112 10.0.0.2
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 893 bytes
Desc: not available
More information about the irrtoolset