diff options
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -352,8 +352,8 @@ ranges_overlap(uint32_t aflags, char *sa, uint32_t bflags, char *sb) { EVR_t lEVR = rpmEVRnew(aflags, 0), rEVR = rpmEVRnew(bflags, 0); - backup_char(eosa); - backup_char(eosb); + if(eosa) backup_char(eosa); + if(eosb) backup_char(eosb); rpmEVRparse(sa, lEVR); rpmEVRparse(sb, rEVR); /* TODO: upstream bug? should rpmEVRparse really reset Flags? */ |