salman-abedin / devour

X11 window swallower
GNU General Public License v2.0
419 stars 30 forks source link

no more buffer overflowing from long lists of arguments #34

Open Flaneur3434 opened 2 years ago

Flaneur3434 commented 2 years ago

Before there was a set max on the number of arguments that could be passed into devour (1024 characters). I made it so it would dynamically allocate more memory to handle larger amounts of arguments.

EmperorPenguin18 commented 2 years ago

I PRed a similar fix (though it looks like yours is better) a while ago and nothing happened. If you're looking for a similar utility that doesn't have this problem, I have since just made my own program; gobble.