summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGeLiXin <[email protected]>2016-10-11 06:30:22 +0800
committerBrian Behlendorf <[email protected]>2016-10-10 15:30:22 -0700
commit8c8cf8a2d8567d00a93963b1d59a7bdc8cede06a (patch)
treea408d5a831505c8cfa36be29a64db0e7f6e4de82 /tests
parentd33931a83a33db4034186dfda6dcdd294ace2c75 (diff)
Fix coverity defects: CID 147639
When array is passed as a parameter it degenerates into a pointer so the sizeof(path) in is_shorthand_path() and always get return value of 8, instead of the string length we want. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: GeLiXin <[email protected]> Closes #5198
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions