On Thu Nov 28 17:09:50 2024 +0000, Rémi Bernon wrote:
Allocation errors need to be handled here.
I guess now the general approach in Wine is that we don't add code to somehow deal with small size not dependent on app data allocation failures, especially when we don't have a very good way out of that except for printing some error, and let it crash instead? Thing is, if such an allocation can't be performed the process is done anyway, adding some formal handling without actually being able to recover only pollutes the code (when it is not something related to working with application data when allocation block can be large or other memory may be freed on allocation error path).