Home
last modified time | relevance | path

Searched refs:comment_arg (Results 1 – 1 of 1) sorted by relevance

/external/libjpeg-turbo/
Dwrjpgcom.c412 char *comment_arg = NULL; in main() local
442 comment_arg = argv[argn]; in main()
446 if (comment_arg[0] == '"') { in main()
447 comment_arg = (char *)malloc((size_t)MAX_COM_LENGTH); in main()
448 if (comment_arg == NULL) in main()
455 strcpy(comment_arg, argv[argn] + 1); in main()
457 comment_length = (unsigned int)strlen(comment_arg); in main()
458 if (comment_length > 0 && comment_arg[comment_length - 1] == '"') { in main()
459 comment_arg[comment_length - 1] = '\0'; /* zap terminating quote */ in main()
464 if (strlen(comment_arg) + strlen(argv[argn]) + 2 >= in main()
[all …]