Re: [PATCH] fix: add safety check for OPTION_END and refactor code for consistency

2024-12-04 Thread Namhyung Kim
Hello, On Fri, Nov 29, 2024 at 04:13:53PM +0530, Atharva Tiwari wrote: > - Added a null check for 'o' before copying the last OPTION_END in > options__order function to prevent potential uninitialized usage. > - Refactored the parse_long_opt function for improved readability by aligning > functi

[PATCH] fix: add safety check for OPTION_END and refactor code for consistency

2024-11-29 Thread Atharva Tiwari
- Added a null check for 'o' before copying the last OPTION_END in options__order function to prevent potential uninitialized usage. - Refactored the parse_long_opt function for improved readability by aligning function signature. - Minor formatting fix to ensure consistency in the codebase. - Up