tcurdt / jdeb

This library provides an Ant task and a Maven plugin to create Debian packages from Java builds in a truly cross platform manner.
https://github.com/tcurdt/jdeb
Apache License 2.0
485 stars 264 forks source link

Update PermMapper.java #634

Open astitvabajpai opened 4 months ago

astitvabajpai commented 4 months ago

The bug in the toMode method is caused by the lack of error handling when parsing the mode string. If an invalid mode string is passed to the method, it will throw a NumberFormatException and cause the program to crash.