Whamcloud - gitweb
debugfs: avoid undefined bit shift in parse_uint()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 04:39:37 +0000 (00:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 04:39:37 +0000 (00:39 -0400)
commit366d526f15ef06c0a832dee4abe2a0c0349adb92
tree97b2c4565084d475e4892db36c2410d520a8e73d
parent72e854c3ad7b9004bc0ef82c927ada05ec6938d8
debugfs: avoid undefined bit shift in parse_uint()

The case is one that should never happen (and indicates a bug if it
does), but in that case, we should still avoid an undefiniced C
expression.

Fixes-Coverity-Bug: 1297494
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/set_fields.c