annotate tests/ref/vc1/SA00040.vc1.md5 @ 35394:7bad316da87a

stream ftp: Pass full buffer size to snprintf Previously the buffer size was always passed as one less than the underlying buffer's size. This is not using the underlying buffer to its full potential according to the C99 standard. The last byte of the buffers were never used. No vulnerabilities should have been caused by this mistake because the strings stored in the buffers were zero terminated at all times. Neither were out-of-array writes nor reads possible.
author al
date Mon, 26 Nov 2012 23:36:00 +0000
parents f6cce8c4ea66
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34241
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
1 c082ec7483db93cfc769f282980d91ee frame00000000
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
2 c082ec7483db93cfc769f282980d91ee frame00000001
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
3 c082ec7483db93cfc769f282980d91ee frame00000002
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
4 d037b1bc7e8c18ee05b1241123abc192 frame00000003
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
5 1a26598bd2d2afcaa907553f7f76323d frame00000004
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
6 2ca19a43af9eed9badc2f33cdd734c91 frame00000005
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
7 c4be81eceaa9e5f457205fefe144320a frame00000006
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
8 c4be81eceaa9e5f457205fefe144320a frame00000007
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
9 333570008393d36126f09a6972b684d6 frame00000008
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
10 333570008393d36126f09a6972b684d6 frame00000009
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
11 36d8dada953ca6a2b7cbdee78acf134e frame00000010
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
12 36d8dada953ca6a2b7cbdee78acf134e frame00000011
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
13 36d8dada953ca6a2b7cbdee78acf134e frame00000012
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
14 36d8dada953ca6a2b7cbdee78acf134e frame00000013