adrian
a68ab2f735
Fix the label search routine in geom_map to not trip up on '\0' bytes.
...
* Just do the buf check early and fail out
* If the offset being searched is:
00110000 00 b5 7e 45 61 e2 76 d3 c1 78 dd 15 95 cd 1f f1 |..~Ea.v..x......|
.. and the match string is '.!/bin/sh'
.. then it'll set the match string[0] to '\0', do a strncmp() against
the read buffer, find it's matching two zero-length strings, and think
that's where to start.
MFC after: 2 weeks
2015-03-19 03:58:25 +00:00
..
2015-03-17 18:32:28 +00:00
2015-03-13 02:49:55 +00:00
2015-03-17 21:15:24 +00:00
2015-03-18 20:52:34 +00:00
2015-03-16 01:15:08 +00:00
2015-03-16 00:10:03 +00:00
2015-03-18 05:03:07 +00:00
2015-02-18 20:33:00 +00:00
2014-12-12 19:56:36 +00:00
2015-03-18 20:11:59 +00:00
2015-03-17 19:19:19 +00:00
2015-03-19 03:58:25 +00:00
2015-03-12 06:43:58 +00:00
2015-03-12 20:14:48 +00:00
2015-03-17 21:00:31 +00:00
2015-03-01 00:22:16 +00:00
2015-03-18 16:54:03 +00:00
2015-03-18 16:54:03 +00:00
2015-03-17 12:19:28 +00:00
2015-03-15 11:58:52 +00:00
2015-02-12 22:20:34 +00:00
2015-03-19 00:23:16 +00:00
2015-03-19 00:04:25 +00:00
2015-03-07 18:44:52 +00:00
2015-03-17 12:19:28 +00:00
2015-02-28 20:30:29 +00:00
2014-12-23 00:47:46 +00:00
2015-01-07 17:22:56 +00:00
2015-03-18 10:50:10 +00:00
2014-12-12 19:56:36 +00:00
2015-01-07 01:01:39 +00:00
2015-03-18 16:54:03 +00:00
2015-02-02 16:07:07 +00:00
2015-03-16 00:10:03 +00:00
2015-02-16 22:13:03 +00:00
2015-03-18 14:51:03 +00:00
2014-12-27 07:07:37 +00:00
2015-02-05 13:00:27 +00:00
2015-03-19 01:40:43 +00:00
2015-03-17 22:00:11 +00:00
2015-03-15 11:58:52 +00:00