Commit f7b8d0e6 authored by Raphaël Hertzog's avatar Raphaël Hertzog

Add patch to fix build with gcc 7

Closes: #853570
parent 75b95549
ncrack (0.5-4) unstable; urgency=medium
* Team upload.
* Add patch to fix build with gcc 7. Closes: #853570
-- Raphaël Hertzog <hertzog@debian.org> Fri, 25 Aug 2017 11:59:41 +0200
ncrack (0.5-3) unstable; urgency=medium
* Team upload.
......
Description: Fix build with GCC 7
Author: Raphaël Hertzog <hertzog@debian.org>
Bug: https://github.com/nmap/ncrack
Bug-Debian: https://bugs.debian.org/853570
--- a/ncrack_resume.cc
+++ b/ncrack_resume.cc
@@ -520,7 +520,7 @@ ncrack_resume(char *fname, int *myargc,
j = 0;
buf[j++] = *q;
- while (q != '\0' && j < sizeof(buf)) {
+ while (*q != '\0' && j < sizeof(buf)) {
q++;
if (q - filestr >= filelen)
fatal("Corrupted file! Error 5\n");
fix-build-with-gcc7.patch
fix-spelling-error2.patch
fix-spelling-errors.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment