1
1
Gabriel Smith b5c071d180
openssh_fixture.c: Fix potential overwrite of buffer when reading stdout of command (#580)
File:
openssh_fixture.c 
Notes:
If reading the full output from the executed command took multiple
passes (such as when reading multiple lines) the old code would read
into the buffer starting at the some position (the start) every time.
The old code only works if fgets updated p or had an offset parameter,
both of which are not true.

Credit:
Gabriel Smith
2021-05-03 14:41:25 -07:00
..
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2018-08-02 14:00:25 -07:00
2018-08-02 14:00:25 -07:00
2016-08-14 16:03:25 +01:00
2018-08-02 14:00:25 -07:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2018-03-13 21:32:41 +00:00
2016-08-14 16:03:25 +01:00
2018-03-13 21:32:41 +00:00
2015-03-12 22:48:38 +00:00