Jim Meyering
d7cfcbef7e
shred: don't infloop upon negative size
...
* src/shred.c (main): With the preceding change, shred -s-2 FILE
would write 64KB blocks forever -- or until disk full. This change
makes shred reject a negative size.
* tests/misc/shred-negative.sh: New file.
* tests/local.mk (all_tests): Add it.
2014-05-10 12:36:16 -07:00
..
2014-01-02 22:19:59 +01:00
2014-05-07 00:06:00 +01:00
2014-01-24 17:14:04 +00:00
2014-05-07 00:06:00 +01:00
2014-05-07 18:42:03 +02:00
2014-01-13 23:11:17 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-05-05 14:26:15 +01:00
2014-03-05 19:02:20 +00:00
2014-03-13 20:05:10 -07:00
2014-04-18 11:23:37 +01:00
2014-05-10 12:36:16 -07:00
2014-05-05 14:26:15 +01:00
2014-05-07 00:06:00 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-05-07 00:06:00 +01:00
2014-01-02 22:19:59 +01:00
2014-05-07 00:06:00 +01:00
2014-05-07 00:06:00 +01:00
2014-05-07 00:06:00 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2011-09-08 22:03:17 +02:00
2014-04-18 11:23:37 +01:00
2012-09-14 10:20:03 +02:00
2014-01-02 20:31:07 +01:00
2014-05-10 12:36:16 -07:00
2012-08-30 18:55:59 +02:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00