Ticket #64083: 1002-argc_sigsegv.patch
File 1002-argc_sigsegv.patch, 422 bytes (added by RobK88, 3 years ago) |
---|
-
main.c
Subject: Fix SIGSEGV. Author: Bernhard Übelacker <bernhardu@vr-web.de> Bug-Debian: https://bugs.debian.org/715590 Last-Update: 2014-07-03
old new int main (int argc, const char * argv[]) 2315 2315 if (argc < 5) { USAGE } 2316 2316 delta_bright = atoi(argv[4]); 2317 2317 #else 2318 if (argc < 2) { USAGE }2318 if (argc < 3) { USAGE } 2319 2319 #endif 2320 2320 fact_x = atof(argv[1]); 2321 2321 sscanf(argv[2], "%lld", &orim2vsize);