RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
204 stars 43 forks source link

segfault if --symbols-path argument contains nonexistent directory, or is otherwise unwriteable #255

Closed meat-loaf closed 2 years ago

meat-loaf commented 2 years ago

Invoke as follows: asar patch.asm --symbols=wla --symbols-path=nonexistent_dir/symbols.sym If nonexistent_dir indeed doesn't exist, the program segfaults. Argument to symbols is not relevant (happens with nocash as well, as long as it is not none) Tested with a very simple patch such as the following:

org $008000
db #%0000111
meat-loaf commented 2 years ago

Ah, sorry. Seems this was fixed already, I had been using a slightly older version. My apologies.