On Wednesday 27 November 2024 16:02:35 Lasse Collin wrote:
> On 2024-11-27 Pali Rohár wrote:
> > I think that we should not ignore memory allocation failures.
> 
> I agree. I'm not able to comment the implementation ideas though.
> 
> -- 
> Lasse Collin

Just to note that this issue is mostly rare. It means that system was
able to create process, allocate all memory for it (including system
cmdline) start it, but then was unable to allocate memory for parsed
argv[]. But I still think that any memory issues, including those rare
should be properly handled.

And anyway, this issue is totally unrelated and not connected to the one
which you reported. It is only in mingw-w64. I just found this issue
just because I started to study the code around the problem which you
reported. So it is good that this discussion started, it allowed to
uncover another mingw-w64 specific issues.

I will try to prepare some fixes and send proposal on the list.


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to