aros-development-team / AROS

Main AROS repository for active development. Contains the main Operating System components and Build System.
http://www.aros.org
Other
368 stars 60 forks source link

Fix crash during boot of native compile with --enable-debug #645

Open thatguywiththekids opened 1 month ago

thatguywiththekids commented 1 month ago

The WIP resource log.resource made AROS crash during boot if AROS was compiled with --enable-debug. This pull request makes logAddEntryA refuse to add the log entry instead of attempting to perform I/O on a device null pointer. It also fixes some memory management errors.

log.resource does not perform any actual log broadcasting currently anyway, so I consider this a reasonable fix for now.

thatguywiththekids commented 1 week ago

Is there an issue with this?