diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-04-08 13:57:36 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-04-08 13:57:36 +0200 |
| commit | 478b53f935264bdfe4efe394f8d804a1361a6770 (patch) | |
| tree | 31c87de7b67f928ff93b4564e0929d7db2a369f8 /src/blind-transpose.c | |
| parent | Update TODO: blind-from-sent (diff) | |
| download | blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.gz blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.bz2 blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.xz | |
Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-transpose.c')
| -rw-r--r-- | src/blind-transpose.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/blind-transpose.c b/src/blind-transpose.c index 7bc124d..cf1036b 100644 --- a/src/blind-transpose.c +++ b/src/blind-transpose.c @@ -35,7 +35,6 @@ main(int argc, char *argv[]) srch *= ps; srcw *= dx = imgw * ps; imgw *= ps; - memcpy(buf, stream.buf, stream.ptr); while (eread_frame(&stream, buf, n)) { for (b = y = 0; y < srch; y += ps) for (x = 0; x < srcw; x += dx) |
