Previous patch was incorrect.
This commit is contained in:
parent
e811352a74
commit
21f39729d7
@ -170,9 +170,9 @@ odoffset(argc, argvp)
|
||||
*
|
||||
* We assumes it's a file if the offset is bad.
|
||||
*/
|
||||
|
||||
p = argc == 1 ? (*argvp)[0] : (*argvp)[1];
|
||||
|
||||
p = **argvp;
|
||||
if (!p)
|
||||
return;
|
||||
if (*p != '+' && (argc < 2 ||
|
||||
(!isdigit(p[0]) && (p[0] != 'x' || !ishexdigit(p[1])))))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user