You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ar(1), strcmp() checks are used to determine the value of argument argv[1], even when no argument is given. In the past, they were possibly harmless out-of-bound reads and comparison with garbage, without consequences.
However, running it on macOS 13 w/ Apple Silicon immediately crashes it with Segmentation Fault, because argv[1] is now NULL and generates EXC_BAD_ACCESS in strcmp()
In ar(1),
strcmp()
checks are used to determine the value of argumentargv[1]
, even when no argument is given. In the past, they were possibly harmless out-of-bound reads and comparison with garbage, without consequences.However, running it on macOS 13 w/ Apple Silicon immediately crashes it with Segmentation Fault, because
argv[1]
is nowNULL
and generatesEXC_BAD_ACCESS
instrcmp()
I'll submit a patch to fix the problem.
The text was updated successfully, but these errors were encountered: