We call a module M over a commutative noetherian ring R quasi-Baer in case Ext (M,T) = 0 for each locally artinian (= semiartinian) module T. We prove that all quasi--Baer modules are projective provided that R has finite Krull dimension, or R is of cardinality less than aleph_omega.