mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
command line: avoid arg_opts buffer overflow if -d/i used without space before arg
This commit is contained in:
@@ -240,7 +240,7 @@ INTERNAL int is_extendable(const int symbology) {
|
||||
}
|
||||
|
||||
/* Indicates which symbols can have composite 2D component data */
|
||||
INTERNAL int is_composite(int symbology) {
|
||||
INTERNAL int is_composite(const int symbology) {
|
||||
return symbology >= BARCODE_EANX_CC && symbology <= BARCODE_DBAR_EXPSTK_CC;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user