Totally depends on the architecture how things are trapped etc...

//M

Sent from my BlackBerry — the most secure mobile device


          Original Message  



From: [email protected]
Sent: 9 May 2019 09:03
To: [email protected]
Reply to: [email protected]
Subject: Re: dc's stack breaks when doing modulo-0




Am 08.05.2019 19:31, schrieb Markus Gothe:
>
> dc -e '4 0 % p' mess up the stack so bad that my MIPS kernel traps it and 
> reboots.
>
> I think we should, like the regular dc, check for 0 as a divider when doing 
> modulo.
>

Did you forward this to the mips kernel mailing list ?
user space programs should never be able to confuse the kernel.

re,
wh
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to