strings (STRID_EMPTY), e.g. in s->vendor, the SOLV file was fairly
messed up in subtle ways. This might fix #354404 (at least with this I
can't reproduce it). Probably most SOLV files need to be regenerated.
int same;
size_t len;
for (same = 0; same < 255; same++)
- if (old_str[same] != str[same])
+ if (!old_str[same] || !str[same] || old_str[same] != str[same])
break;
*pp++ = same;
len = strlen (str + same) + 1;