Skip to content

catdoc doesn't error if you give it a directory to convert #9

@skierpage

Description

@skierpage

Steps to Reproduce

You're supposed to give catdoc an MS-Word 1997-2004 .doc file to process. If instead you specify a directory, it will not error. For example,

catdoc /usr

Catdoc version 0.95 as packaged in most Linux distributions will print nothing or may crash. My fork will either print nothing, or with the -b ("process broken MS-Word file") option it will print a lot of "Warning: paragraph buffer overflow, discarding paragraph"

Expected result

Even with -b option, catdoc should probably exit with a "not a file" error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions